list method
comma separated: a, b,c is ['a', 'b', 'c']. Empty items are dropped.
Implementation
List<String>? list(String key) {
String? value = raw(key);
if (value == null) return null;
List<String> result = <String>[];
for (String item in value.split(',')) {
String text = item.trim();
if (text.isNotEmpty) result.add(text);
}
return result;
}