get method Null safety

Object? get(
  1. String key
)

Reads a value of any type from persistent storage.

Implementation

Object? get(String key) => _preferenceCache[key];