getStringList static method
获取字符串列表
使用示例
void example() {
SharepUtil.getStringList('key');
}
返回:'value1', 'value2'
Implementation
static List<String> getStringList(String key,
{List<String> defaultValue = const []}) {
return _prefs?.getStringList(key) ?? defaultValue;
}