popFirst method
LPOP - Pops the first element of a list (head)
Implementation
Future<RedisReply> popFirst(String key, [int? count]) async {
if (count != null) return command('LPOP', [key, '$count']);
return command('LPOP', [key]);
}
LPOP - Pops the first element of a list (head)
Future<RedisReply> popFirst(String key, [int? count]) async {
if (count != null) return command('LPOP', [key, '$count']);
return command('LPOP', [key]);
}