W3cubDocs

/Dart 2

remove method

V remove (Object key)

Implementation

V remove(Object key) {
  if (!_validKey(key)) return null;
  _SplayTreeMapNode<K, V> mapRoot = _remove(key);
  if (mapRoot != null) return mapRoot.value;
  return null;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-collection/SplayTreeMap/remove.html