Set the List
setList(String key, List<String>? value) { if (value == null) { return _prefs!.remove(key); } return _prefs!.setStringList(key, value); }