collectArr method
Implementation
@pragma("vm:prefer-inline")
Arr<T> collectArr() {
final list = <T>[];
while (moveNext()) {
list.add(current);
}
return Arr.fromList(list);
}
@pragma("vm:prefer-inline")
Arr<T> collectArr() {
final list = <T>[];
while (moveNext()) {
list.add(current);
}
return Arr.fromList(list);
}