remove method

  1. @override
bool remove(
  1. String key,
  2. V value
)
inherited

Removes the association between the given key and value.

Returns true if the association existed, false otherwise

Implementation

@override
bool remove(String key, V value) {
  final keyNode = _root?.getKeyNode(_mapKey(key));

  if (!identical(keyNode, null) && keyNode.removeValue(value)) {
    _version.value.incVersions();
    return true;
  }

  return false;
}