lpush method

Future<int> lpush(
  1. String key,
  2. List<Object> values
)

lpush

Implementation

Future<int> lpush(String key, List<Object> values) async {
  return await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).lpush(key, values))
        .toInteger()
        .payload;
  });
}