toList method

List<bool> toList()

Implementation

List<bool> toList() {
  List<bool> items = [];
  while (moveNext()) {
    items.add(current);
  }
  return items;
}