evalConditionalExpression method
dynamic
evalConditionalExpression()
inherited
Implementation
@protected
dynamic evalConditionalExpression(
ConditionalExpression expression,
Map<String, dynamic> context,
) {
final test = eval(expression.test, context);
return test
? eval(expression.consequent, context)
: eval(expression.alternate, context);
}