getSet method

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

Implementation

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

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

  return Set.from(val.split(split));
}