getStringList static method

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

Returns a list of String values associated with the given key, or defaultValue if the key is not found.

Implementation

static List<String> getStringList(
  String key, {
  List<String> defaultValue = const [],
}) => _instance.getStringList(key) ?? defaultValue;