asListOrNullAsync property

Future<List<T>?> get asListOrNullAsync

Implementation

Future<List<T>?> get asListOrNullAsync =>
    then((itr) => itr is List<T> ? itr : itr?.toList());