ComplexSelector constructor
ComplexSelector(
- Iterable<
CssValue< leadingCombinators,Combinator> > - Iterable<
ComplexSelectorComponent> components, - FileSpan span, {
- bool lineBreak = false,
Implementation
ComplexSelector(Iterable<CssValue<Combinator>> leadingCombinators,
Iterable<ComplexSelectorComponent> components, super.span,
{this.lineBreak = false})
: leadingCombinators = List.unmodifiable(leadingCombinators),
components = List.unmodifiable(components) {
if (this.leadingCombinators.isEmpty && this.components.isEmpty) {
throw ArgumentError(
"leadingCombinators and components may not both be empty.");
}
}