get abstract method

Future<String?> get(
  1. String key
)

Gets the value of key.

Returns the string value if the key exists, or null if the key does not exist. Throws a ValkeyServerException if the key holds a non-string value.

Implementation

Future<String?> get(String key);