getMap method Null safety

Map<String, dynamic>? getMap(
  1. {String? forKey}
)

Read as Map from persistent cache

Implementation

Map<String, dynamic>? getMap({String? forKey}) {
  assert(forKey != null);
  return _storage[forKey];
}