get abstract method

Future<V?> get(
  1. K key, {
  2. Loader<K, V>? ifAbsent,
})

Returns the value associated with key.

If ifAbsent is specified and no value is associated with the key, a mapping is added and the value is returned. Otherwise, returns null.

Implementation

Future<V?> get(K key, {Loader<K, V>? ifAbsent});