MathVariableValues class

Variables dictionary

The class must be passed to the MathNode.calc function. Map key value is the variable name, with a corresponding numeric value

Constructors

MathVariableValues(Map<String, num> _values)
Creates new variables dictionary
const
MathVariableValues.x(num x)
Creates a new x variable dictionary
factory

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String variableName) num
Get the variable value

Constants

none → const MathVariableValues
Empty variables dictionary