remove method
- Object? object
override
Removes value from the set.
Returns true if value was in the set, and false if not. The method has no effect if value was not in the set.
Implementation
bool remove(Object? object) {
if (!_validKey(object)) return false;
return _remove(object as E) != null;
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-collection/SplayTreeSet/remove.html