remove method

bool remove(
  1. Object? value
)

Removes the given value from the set.

  • value: The element to remove.
  • Returns: true if the element was removed, false otherwise.

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);
  }
}