remove method
Removes the given value from the set.
value: The element to remove.- Returns:
trueif the element was removed,falseotherwise.
Implementation
bool remove(Object? value) {
switch (changeType) {
case ChangeType.hard:
return hardRemove(value);
case ChangeType.silent:
return silentRemove(value);
case ChangeType.smart:
return smartRemove(value);
}
}