setStringList method
Implementation
Future<bool> setStringList(String key, List<String> stringList, {bool removeIfEmpty = true})
{
if (stringList.isEmpty && removeIfEmpty)
return _sharedPreferences.remove(key);
return _sharedPreferences.setStringList(key, stringList);
}