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