getStringList static method

List<String>? getStringList(
  1. String key, {
  2. List<String>? defValue = const [],
})

get string list.

Implementation

static List<String>? getStringList(String key,
    {List<String>? defValue = const []}) {
  return _prefs?.getStringList(key) ?? defValue;
}