collectArr method
Implementation
Arr<T> collectArr() {
final list = <T>[];
while (moveNext()) {
list.add(current);
}
return Arr.fromList(list);
}
Arr<T> collectArr() {
final list = <T>[];
while (moveNext()) {
list.add(current);
}
return Arr.fromList(list);
}