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