haveKey static method

bool? haveKey(
  1. String key
)

have key.

Implementation

static bool? haveKey(String key) {
  return prefs?.getKeys().contains(key);
}