has method

Future<bool> has(
  1. String key
)

Check if key exists

Implementation

Future<bool> has(String key) async {
  return await _client.exists(key);
}