firstWhereOrNull method
Implementation
E? firstWhereOrNull(bool Function(E) test) {
try {
return firstWhere(test);
} catch (e) {
return null;
}
}
E? firstWhereOrNull(bool Function(E) test) {
try {
return firstWhere(test);
} catch (e) {
return null;
}
}