linsert method

Future<RespType> linsert(
  1. String key,
  2. InsertMode insertMode,
  3. Object pivot,
  4. Object value,
)

Implementation

Future<RespType> linsert(String key, InsertMode insertMode, Object pivot, Object value) async {
  return tier0.execute([
    'LINSERT',
    key,
    insertMode._value,
    pivot,
    value,
  ]);
}