containsKey method Null safety

bool containsKey(
  1. String key
)

Returns true if persistent storage the contains the given key.

Implementation

bool containsKey(String key) => _preferenceCache.containsKey(key);