zrange abstract method

Future<List<String?>> zrange(
  1. String key,
  2. int start,
  3. int stop
)

Returns the specified range of members in the sorted set stored at key, ordered from lowest to highest score.

start and stop are zero-based indexes. Use 0 and -1 for all. Returns an empty list if the key does not exist. Throws a ValkeyServerException if the key holds a non-sorted-set value.

Implementation

Future<List<String?>> zrange(String key, int start, int stop);