EvaluationType enum

Mathematical expressions must be evaluated under a certain EvaluationType.

Currently there are three types, but not all expressions support each type. If you try to evaluate an expression with an unsupported type, it will raise an UnimplementedError or UnsupportedError.

  • REAL
  • VECTOR
  • INTERVAL

Note: This class emulates an enumeration, since they are not supported by Dart yet.

Inheritance

Constructors

EvaluationType()
const

Values

REAL → const EvaluationType
VECTOR → const EvaluationType
INTERVAL → const EvaluationType

Properties

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

Constants

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