MathValue class

Constant value

The given value never changes, is guaranteed to be numerical and constant

Inheritance
Implementers
Available Extensions

Constructors

MathValue(num value)
Creates a new constant value
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value num
The value
final

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
override
getUsedVariables() Set<String>
Get mentioned variables that are required to evaluate the expression
override
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