hasKey method

Future<bool> hasKey(
  1. String key
)

是否包含某个key

Implementation

Future<bool> hasKey(String key) async {
  await _initialize();
  return _storage!.containsKey(key);
}