removeAll method
- @Deprecated('Do not use, will be fully removed in v1.2.0')
- @override
override
Prohibit method removeAll()
inherited from the QueryableOrderedSet
. If
this was allowed, then the user would be able to bypass standard lifecycle
methods of the Component class.
Implementation
@Deprecated('Do not use, will be fully removed in v1.2.0')
@override
Iterable<Component> removeAll(Iterable<Component> components) {
throw UnsupportedError(
'Removing elements directly from a ComponentSet is prohibited; use '
'Component.removeAll() instead',
);
}