SelectorList constructor

SelectorList(
  1. Iterable<ComplexSelector> components,
  2. FileSpan span
)

Implementation

SelectorList(Iterable<ComplexSelector> components, super.span)
    : components = List.unmodifiable(components) {
  if (this.components.isEmpty) {
    throw ArgumentError("components may not be empty.");
  }
}