get method

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

Gets the value of key.

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

Implementation

@override
Future<String?> get(String key) =>
    _executeOnKey(key, (client) => client.get(key));