getFirst method
Implementation
T? getFirst(ReplaceValidator<T> test) {
for (final item in this) {
if (test(item)) return item;
}
return null;
}
T? getFirst(ReplaceValidator<T> test) {
for (final item in this) {
if (test(item)) return item;
}
return null;
}