setStringList static method
Saves a list of strings value
to persistent storage in the background.
Returns false if key is null.
Implementation
static Future<bool> setStringList(String? key, List<String>? value) async {
if (key == null || value == null) {
return false;
}
final prefs = await instance;
return prefs.setStringList(key, value);
}