lpop method

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

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

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

Implementation

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