evaluate method
Evaluates this expression according to given type and context.
Implementation
@override
dynamic evaluate(EvaluationType type, ContextModel context) {
final dynamic firstEval = first.evaluate(type, context);
final dynamic secondEval = second.evaluate(type, context);
if (type == EvaluationType.REAL) {
return firstEval % secondEval;
}
throw UnimplementedError(
'Evaluate Modulo with type $type not supported yet.');
}