clear method

  1. @useResult
IMap<K, V> clear()

Returns an empty map with the same configuration.

Implementation

@useResult
IMap<K, V> clear() => IMapImpl.empty<K, V>(config);