ConditionalExpr constructor

ConditionalExpr(
  1. Expression condition,
  2. Expression trueCase,
  3. Expression falseCase, [
  4. OutputType? type,
])

Implementation

ConditionalExpr(this.condition, this.trueCase, this.falseCase,
    [OutputType? type])
    : super(type ?? trueCase.type);