setStringList method
Implementation
void setStringList(String key, List<String> stringList, {bool removeIfEmpty = true})
{
if (stringList.length == 0 && removeIfEmpty)
_sharedPreferences.remove(key);
else
_sharedPreferences.setStringList(key, stringList);
}