lastWhere method

Future<E> lastWhere(
  1. bool test(
    1. E e
    ), {
  2. E orElse()?,
})

Refer to Iterable.lastWhere;

Implementation

Future<E> lastWhere(bool test(E e), {E Function()? orElse}) async {
  return (await this).lastWhere(test, orElse: orElse);
}