setStringList static method

Future<bool> setStringList(
  1. String key,
  2. List<String> value
)

Set a string list value

Implementation

static Future<bool> setStringList(String key, List<String> value) async {
  if (!_isInitialized || _prefs == null) return false;
  return await _prefs!.setStringList(key, value);
}