value method

  1. @override
Future<Map<String, dynamic>?> value(
  1. String key
)
override

Retrieves a copy of the data at key or null if there is no data.

Implementation

@override
Future<Map<String, dynamic>?> value(String key) async {
  final cached = _memory[key];
  return cached == null ? null : Map<String, dynamic>.of(cached);
}