ExpressionInterface class Null safety

Constructors

ExpressionInterface({required String expression, required Map<String, double> variables, Map<String, double>? constants})
Create a new math expression for example:

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value double
Returns the calculated value
read-only

Methods

clear() → void
Free up memory
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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) double
Get variable value
operator []=(String variableName, double variableValue) → void
Set variable value