hasKey static method

bool hasKey(
  1. String key
)

have key.

Implementation

static bool hasKey(String key) {
  return _prefs.getKeys().contains(key);
}