getStringList static method
get string list. 获取sp中key的list
Implementation
static List<String> getStringList(String key,
{List<String> defValue = const []}) {
if (_prefs == null) {
return defValue;
}
return _prefs?.getStringList(key) ?? defValue;
}