lset method
Sets the list element at index to value. For more information on the index argument, see LINDEX.
False is returned for out of range indexes.
Implementation
Future<bool> lset(String key, int index, Object value) async {
return _getBool(await _execCmd(['LSET', key, index, value]));
}