Day enum

The days of the week.

Inheritance

Constructors

Day(int value)
Constructs an instance of Day.
const

Values

sunday → const Day

Sunday.

const Day(1)
monday → const Day

Monday.

const Day(2)
tuesday → const Day

Tuesday.

const Day(3)
wednesday → const Day

Wednesday.

const Day(4)
thursday → const Day

Thursday.

const Day(5)
friday → const Day

Friday.

const Day(6)
saturday → const Day

Saturday.

const Day(7)

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
value int
The integer representation of Day.
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

Constants

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