getList method

List<String> getList(
  1. String key, [
  2. Pattern separator = ","
])

Implementation

List<String> getList(String key, [Pattern separator = ","]) {
  if (!containsKey(key)) return [];
  return this[key]!.split(separator);
}