toListOrNullAsync method

FutureOr<List<T>?> toListOrNullAsync({
  1. bool growable = true,
})

Implementation

FutureOr<List<T>?> toListOrNullAsync({bool growable = true}) =>
    then((itr) => itr?.toList());