getString method Null safety

String? getString(
  1. {String? forKey}
)

Read as String from persistent cache

Implementation

String? getString({String? forKey}) {
  assert(forKey != null);
  return _storage[forKey];
}