ExpressionInterface class abstract

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
Returns the calculated value
no setter

Methods

clear() → void
Free up memory
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) double
Get variable value
operator []=(String variableName, double variableValue) → void
Set variable value