rpop method

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

Removes and returns the last element of the list stored at key.

Returns the value of the last element, or nil when key does not exist.

Implementation

Future<String?> rpop(String key) async {
  return (await tier1.rpop(key)).toBulkString().payload;
}