exists method

Future<bool> exists(
  1. String key
)

Implementation

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