addList method
Implementation
void addList(String key, JsonEncodable value) {
List<dynamic>? currentList = getList(key);
currentList ??= [];
currentList.add(value.toJson());
setList(key, currentList);
}
void addList(String key, JsonEncodable value) {
List<dynamic>? currentList = getList(key);
currentList ??= [];
currentList.add(value.toJson());
setList(key, currentList);
}