MathOperatorSubtraction class

Subtraction operator (-)

left operand is minuend, right is subtrahend. This expression evaluates to the difference left - right

Inheritance
Available Extensions

Constructors

MathOperatorSubtraction(MathNode left, MathNode right)
Creates a new subtraction operation
const

Properties

hashCode int
The hash code for this object.
no setterinherited
left MathNode
Operator's left operand
finalinherited
Operator's right operand
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calc(MathVariableValues values, {MathCustomFunctionsImplemented customFunctions = const MathCustomFunctionsImplemented({})}) num
Evaluate the expression
override
getUsedFreeformFunctions() Set<MathDefinitionFunctionFreeform>
Get mentioned custom defined functions that are required to evaluate the expression
inherited
getUsedVariables() Set<String>
Get mentioned variables that are required to evaluate the expression
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited