getList method Null safety

List? getList(
  1. {String? forKey}
)

Read as List from persistent cache

Implementation

List<dynamic>? getList({String? forKey}) {
  assert(forKey != null);
  return _storage[forKey];
}