completeWithLast method
Evaluates all registered callbacks and returns the last result.
Implementation
FutureOr<T> completeWithLast() => completeWith<T>(
(r) => r is Future<List<T>> ? r.then((e) => e.last) : r.last,
);
Evaluates all registered callbacks and returns the last result.
FutureOr<T> completeWithLast() => completeWith<T>(
(r) => r is Future<List<T>> ? r.then((e) => e.last) : r.last,
);