removeMapping method Null safety

bool removeMapping(
  1. K key,
  2. V value
)

Removes the entry for the specified key only if it is mapped to the specified value.

@return true if entry was removed

Implementation

bool removeMapping(K key, V value);