📜  StateError (Bad state: No element) - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:03.204000             🧑  作者: Mango

代码示例1
// Use the orElse and set it to null.
someIterable.firstWhere(test, orElse: () => null);