CalculationOperator class Null safety Value

An enumeration of possible operators for CalculationOperation.

Annotations

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
The English name of this.
final
operator String
The CSS syntax for this.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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

Constants

dividedBy → const CalculationOperator
The division operator.
CalculationOperator._("divided by", "/", 2)
minus → const CalculationOperator
The subtraction operator.
CalculationOperator._("minus", "-", 1)
plus → const CalculationOperator
The addition operator.
CalculationOperator._("plus", "+", 1)
times → const CalculationOperator
The multiplication operator.
CalculationOperator._("times", "*", 2)