W3cubDocs

/Dart 2

remove method

V remove (Object key)

Removes key and its associated value, if present, from the map.

Returns the value associated with key before it was removed. Returns null if key was not in the map.

Note that values can be null and a returned null value doesn't always mean that the key was absent.

Implementation

V remove(Object key);

© 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/MapMixin/remove.html