next method
T?
next()
If the iterator is empty, returns null. Otherwise, returns the next value.
Implementation
@pragma("vm:prefer-inline")
T? next() {
if (moveNext()) {
return current;
}
return null;
}
If the iterator is empty, returns null. Otherwise, returns the next value.
@pragma("vm:prefer-inline")
T? next() {
if (moveNext()) {
return current;
}
return null;
}