FutureList<E> extension
Future list extension maps the native List properties and methods to the result of a Future that yields a List, in addition with a couple of useful return types and methods.
Properties
-
reversed
→ Future<
Iterable< E> > -
Available on Future<
Refer to List.reversed.List< , provided by the FutureList extensionE> >no setter
Methods
-
add(
E e) → Future< List< E> > -
Available on Future<
Refer to List.add.List< , provided by the FutureList extensionE> > -
addAll(
Iterable< E> iterable) → Future<List< E> > -
Available on Future<
Refer to List.addAll.List< , provided by the FutureList extensionE> > -
as<
T> (T f(E e)) → Future< List< T> > -
Available on Future<
Returns a new lazy List of Type by applying the transformation function.List< , provided by the FutureList extensionE> > -
asMap(
) → Future< Map< int, E> > -
Available on Future<
Refer to List.asMap.List< , provided by the FutureList extensionE> > -
cast<
R> () → Future< List< R> > -
Available on Future<
Refer to List.cast.List< , provided by the FutureList extensionE> > -
clear(
) → Future< List< E> > -
Available on Future<
Refer to List.clear.List< , provided by the FutureList extensionE> > -
fillRange(
int start, int end, [E? value]) → Future< List< E> > -
Available on Future<
Refer to List.fillRange.List< , provided by the FutureList extensionE> > -
getRange(
int start, int end) → Future< Iterable< E> > -
Available on Future<
Refer to List.getRange.List< , provided by the FutureList extensionE> > -
indexOf(
E e, [int start = 0]) → Future< int> -
Available on Future<
Refer to List.indexOf.List< , provided by the FutureList extensionE> > -
indexWhere(
bool test(E e), [int start = 0]) → Future< int> -
Available on Future<
Refer to List.indexWhere.List< , provided by the FutureList extensionE> > -
insert(
int index, E element) → Future< List< E> > -
Available on Future<
Refer to List.insert.List< , provided by the FutureList extensionE> > -
insertAll(
int index, Iterable< E> iterable) → Future<List< E> > -
Available on Future<
Refer to List.insertAll.List< , provided by the FutureList extensionE> > -
lastIndexOf(
E e, [int? start]) → Future< int> -
Available on Future<
Refer to List.lastIndexOf.List< , provided by the FutureList extensionE> > -
lastIndexWhere(
bool test(E e), [int? start]) → Future< int> -
Available on Future<
Refer to List.lastIndexWhere.List< , provided by the FutureList extensionE> > -
remove(
Object o) → Future< List< E> > -
Available on Future<
Refer to List.remove.List< , provided by the FutureList extensionE> > -
removeAt(
int index) → Future< List< E> > -
Available on Future<
Refer to List.removeAt.List< , provided by the FutureList extensionE> > -
removeLast(
) → Future< List< E> > -
Available on Future<
Refer to List.removeLast.List< , provided by the FutureList extensionE> > -
removeRange(
int start, int end) → Future< List< E> > -
Available on Future<
Refer to List.removeRange.List< , provided by the FutureList extensionE> > -
removeWhere(
bool test(E e)) → Future< List< E> > -
Available on Future<
Refer to List.removeWhere.List< , provided by the FutureList extensionE> > -
replaceRange(
int start, int end, Iterable< E> iterable) → Future<List< E> > -
Available on Future<
Refer to List.replaceRange.List< , provided by the FutureList extensionE> > -
retainWhere(
bool test(E e)) → Future< List< E> > -
Available on Future<
Refer to List.retainWhere.List< , provided by the FutureList extensionE> > -
setAll(
int index, Iterable< E> iterable) → Future<List< E> > -
Available on Future<
Refer to List.setAll.List< , provided by the FutureList extensionE> > -
setRange(
int start, int end, Iterable< E> iterable) → Future<List< E> > -
Available on Future<
Refer to List.setRange.List< , provided by the FutureList extensionE> > -
shuffle(
[Random? random]) → Future< List< E> > -
Available on Future<
Refer to List.shuffle.List< , provided by the FutureList extensionE> > -
sort(
[int compare(E a, E b)?]) → Future< List< E> > -
Available on Future<
Refer to List.sort.List< , provided by the FutureList extensionE> > -
sublist(
int start, [int? end]) → Future< List< E> > -
Available on Future<
Refer to List.sublist.List< , provided by the FutureList extensionE> >