Vintage enum

Represents a "Jahrgang" (grade level or class year) in a high school context. Used to denote the year group (or class) of students within a high school.

Inheritance
Available extensions

Values

$1 → const Vintage

The first year.

const Vintage(1)
$2 → const Vintage

The second year.

const Vintage(2)
$3 → const Vintage

The third year.

const Vintage(3)
$4 → const Vintage

The fourth year.

const Vintage(4)
$5 → const Vintage

The fifth year.

const Vintage(5)
$1ahit → const Vintage

The first year, AHIT.

const Vintage(1, 'AHIT')
$1bhit → const Vintage

The first year, BHIT.

const Vintage(1, 'BHIT')
$1chit → const Vintage

The first year, CHIT.

const Vintage(1, 'CHIT')
$1dhit → const Vintage

The first year, DHIT.

const Vintage(1, 'DHIT')
$2ahit → const Vintage

The second year, AHIT.

const Vintage(2, 'AHIT')
$2bhit → const Vintage

The second year, BHIT.

const Vintage(2, 'BHIT')
$2chit → const Vintage

The second year, CHIT.

const Vintage(2, 'CHIT')
$2dhit → const Vintage

The second year, DHIT.

const Vintage(2, 'DHIT')
$3ahit → const Vintage

The third year, AHIT.

const Vintage(3, 'AHIT')
$3bhit → const Vintage

The third year, BHIT.

const Vintage(3, 'BHIT')
$3chit → const Vintage

The third year, CHIT.

const Vintage(3, 'CHIT')
$3dhit → const Vintage

The third year, DHIT.

const Vintage(3, 'DHIT')
$4ahit → const Vintage

The fourth year, AHIT.

const Vintage(4, 'AHIT')
$4bhit → const Vintage

The fourth year, BHIT.

const Vintage(4, 'BHIT')
$4chit → const Vintage

The fourth year, CHIT.

const Vintage(4, 'CHIT')
$4dhit → const Vintage

The fourth year, DHIT.

const Vintage(4, 'DHIT')
$5ahit → const Vintage

The fifth year, AHIT.

const Vintage(5, 'AHIT')
$5bhit → const Vintage

The fifth year, BHIT.

const Vintage(5, 'BHIT')
$5chit → const Vintage

The fifth year, CHIT.

const Vintage(5, 'CHIT')
$5dhit → const Vintage

The fifth year, DHIT.

const Vintage(5, 'DHIT')

Properties

hashCode int
The hash code for this object.
no setterinherited
humanReadable String
The human-readable name of this vintage.
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffix String
The year group's suffix (e.g., "AHIT").
final
value int
The year group's index.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sameVintage(Vintage other) bool
Returns true if value is the same as other's value.
toString() String
A string representation of this object.
inherited

Operators

operator <(Vintage other) bool
Returns true if value is less than other's value.
operator <=(Vintage other) bool
Returns true if value is less than or equal to other's value.
operator ==(Object other) bool
The equality operator.
inherited
operator >(Vintage other) bool
Returns true if value is greater than other's value.
operator >=(Vintage other) bool
Returns true if value is greater than or equal to other's value.

Constants

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