lastWhereNullable method
Implementation
E? lastWhereNullable(bool Function(E element) test) {
late E result;
bool foundMatching = false;
for (E element in this) {
if (test(element)) {
result = element;
foundMatching = true;
}
}
if (foundMatching) return result;
return null;
}