hardRemove method
Removes the given value from the set and notifies listeners.
value: The element to remove.- Returns:
trueif the element was removed,falseotherwise.
Implementation
bool hardRemove(Object? value) {
final result = this.value.remove(value);
notify();
return result;
}