CalculationOperator enum

An enumeration of possible operators for CalculationOperation.

Inheritance
Available extensions

Values

plus → const CalculationOperator

The addition operator.

const CalculationOperator('plus', '+', 1)
minus → const CalculationOperator

The subtraction operator.

const CalculationOperator('minus', '-', 1)
times → const CalculationOperator

The multiplication operator.

const CalculationOperator('times', '*', 2)
dividedBy → const CalculationOperator

The division operator.

const CalculationOperator('divided by', '/', 2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
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.
override

Operators

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

Constants

values → const List<CalculationOperator>
A constant List of the values in this enum, in order of their declaration.