If constructor

const If({
  1. required Iterable<IfClause> clauses,
  2. Element? else_,
})

Configuration for defining an if statement.

Implementation

const If({
  required this.clauses,
  this.else_,
});