hasKey method

bool hasKey(
  1. String key
)

Check weather the key exists or not

Implementation

bool hasKey(String key) {
  return _prefs!.containsKey(key);
}