Unary class

An unary expression.

Inheritance

Constructors

Unary(String name, Expression value, num function(num value))

Properties

function num Function(num value)
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Expression
final

Methods

eval(Map<String, num> variables) num
Evaluates the expression with the provided variables.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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