getList method

List<String>? getList(
  1. String key, {
  2. String split = ',',
})

Implementation

List<String>? getList(String key, {String split = ','}) {
  final String? val = _data[key];

  if (val == null) {
    return null;
  }

  return val.split(split);
}