remove method
Removes the given element from the set.
Returns true if the element was removed, false if it wasn't present. Only notifies subscribers if the element was actually removed.
Implementation
@override
bool remove(Object? element) {
final result = value.remove(element);
if (result) {
notify();
}
return result;
}