lastWhereOrNull method
The last element satisfying test, or null if there are none.
Implementation
T? lastWhereOrNull(bool Function(T element) test) {
for (var i = length - 1; i >= 0; i--) {
if (test(this[i])) return this[i];
}
return null;
}