getKeys method Null safety

Set<String> getKeys()

Returns all keys in the persistent storage.

Implementation

Set<String> getKeys() => Set<String>.from(_preferenceCache.keys);