FlutterExprtkPlatformUnsupported class

An implementation of FlutterExprtkPlatform that throws an UnsupportedError when attempting to call a method.

Inheritance

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

clear(int pExpression) → void
Clear the expresseion
override
free(int pointer) → void
override
getConst(int variableName, int pExpression) double
Get the value of constant constantName
override
getResult(int pExpression) double
Get the result of an expresssion
override
getVar(int variableName, int pExpression) double
Get the current value of the variable variableName
override
isValid(int pExpression) int
Check whether an expression is valid
override
newExpression({required String expression, required Map<String, double> variables, Map<String, double>? constants}) int
Creates a new Expression instance in the native library Note: This shouldn't be called manually
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setConst(int variableName, double variableValue, int pExpression) → void
Set the current value of the constant constantName
override
setVar(int variableName, double variableValue, int pExpression) → void
Set variable variableName to variableValue
override
toNativeUtf8(String string) int
Get a pointer to a char* array
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited