getUsedFreeformFunctions method

  1. @override
Set<MathDefinitionFunctionFreeform> getUsedFreeformFunctions()
override

Get mentioned custom defined functions that are required to evaluate the expression

Searches the math tree for any MathFunctionFreeform instances and returns a set of their definitions.

Implementation

@override
Set<MathDefinitionFunctionFreeform> getUsedFreeformFunctions() {
  return {
    ...left.getUsedFreeformFunctions(),
    ...right.getUsedFreeformFunctions()
  };
}