retainWhere method

Future<List<E>> retainWhere(
  1. bool test(
    1. E e
    )
)

Refer to List.retainWhere.

Additionally returns the list.

Implementation

Future<List<E>> retainWhere(bool test(E e)) async {
  return (await this)..retainWhere(test);
}