If constructor

If(
  1. Logic condition,
  2. {List<Conditional>? then,
  3. List<Conditional>? orElse}
)

If condition is high, then then executes, otherwise orElse is executed.

Implementation

If