lrange method
Returns the specified elements of the list stored at key.
start and stop are zero-based indexes.
Use 0 and -1 to get all elements.
Returns an empty list if the key does not exist.
Throws a KeyscopeServerException if the key holds a non-list value.
Implementation
@override
Future<List<String?>> lrange(String key, int start, int stop) =>
_executeOnKey(key, (client) => client.lrange(key, start, stop));