retainWhere method
Async removes elements from the list that doesn't satisfy the test.
Implementation
@override
Future<void> retainWhere(bool Function(E element) test) async {
return Future<void>(() => throw UnsupportedError('Unmodifiable operation'));
}