ExprIfThenElse constructor

ExprIfThenElse({
  1. Expr? if_,
  2. Expr? then,
  3. Expr? else_,
})

Implementation

factory ExprIfThenElse({
  Expr? if_,
  Expr? then,
  Expr? else_,
}) {
  final $result = create();
  if (if_ != null) {
    $result.if_ = if_;
  }
  if (then != null) {
    $result.then = then;
  }
  if (else_ != null) {
    $result.else_ = else_;
  }
  return $result;
}