FormulaParser class

A class that parses and evaluates mathematical expressions.

Constructors

FormulaParser(String expression, [Map<String, dynamic>? options])
Constructs a FormulaParser instance with the given expression and options.

Properties

error → bool
Indicates whether an error occurred during parsing.
no setter
errorMessage → String
The error message describing the error that occurred during parsing.
no setter
expression ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
options ↔ Map<String, dynamic>?
getter/setter pair
parse → dynamic
Parses the expression and returns the result.
no setter
parsedExpression → String
The parsed expression after preprocessing.
no setter
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