conditional method

FunctionExpression conditional(
  1. Object? thenValue,
  2. Object? elseValue
)

thenValue if this condition holds, elseValue otherwise.

Implementation

FunctionExpression conditional(Object? thenValue, Object? elseValue) =>
    _function('conditional', <Object?>[thenValue, elseValue]);