haveKey static method

bool haveKey(
  1. String key
)

have key.

Implementation

static bool haveKey(String key) {
  if (_prefs == null) return false;
  return _prefs!.getKeys().contains(key);
}