Constant class

A constant, a number that doesn't change.

Constructors

Constant(String name, Result value, {String? displayName})
Creates a constant.
const

Properties

displayName String?
Its display name (for display.)
final
hashCode int
The hash code for this object.
no setterinherited
name String
Its name (for the lexical analysis.)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Result
The value of the constant.
final

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