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