exists method

  1. @override
Future<bool> exists(
  1. String key
)

Checks if key exists in store

Implementation

@override
Future<bool> exists(String key) async {
  final box = await _openBox();
  return box.containsKey(key);
}