parseAll static method

Set<CallQualityWarning> parseAll(
  1. String csv
)

Parses a comma-separated list of wire names, ignoring empty entries.

Implementation

static Set<CallQualityWarning> parseAll(String csv) {
  if (csv.isEmpty) return <CallQualityWarning>{};
  return csv.split(',').where((e) => e.isNotEmpty).map(CallQualityWarning.fromName).toSet();
}