set method

  1. @override
Future<void> set(
  1. K key,
  2. V value
)
override

Sets the value associated with key. The Future completes when the operation is complete.

Implementation

@override
Future<void> set(K key, V value) async {
  _map[key] = value;
}