eval method

  1. @override
num eval(
  1. Map<String, num> variables
)
override

Evaluates the expression with the provided variables.

Implementation

@override
num eval(Map<String, num> variables) => Function.apply(
  function,
  arguments.map((argument) => argument.eval(variables)).toList(),
);