iter method
Returns an Iter over the possibly contained value.
Implementation
@pragma("vm:prefer-inline")
Iter<T> iter() {
if (v == null) {
return Iter(<T>[].iterator);
} else {
return Iter([v!].iterator);
}
}
Returns an Iter over the possibly contained value.
@pragma("vm:prefer-inline")
Iter<T> iter() {
if (v == null) {
return Iter(<T>[].iterator);
} else {
return Iter([v!].iterator);
}
}