removeValues method

  1. @override
List<V>? removeValues(
  1. String key
)

Removes all values associated with key. The key remains present, mapped to an empty iterable.

Returns the collection of values associated with key, or null if key was unmapped.

Implementation

@override
List<V>? removeValues(String key) {
  final result = super.removeValues(key);
  return identical(result, null) ? null : result as List<V>;
}