SelectExpression constructor

const SelectExpression(
  1. InlineExpression selector,
  2. List<Variant> variants, {
  3. Span? span,
})

Selects among variants by the selector's value.

Implementation

const SelectExpression(this.selector, this.variants, {this.span});