Day class

The days of the week.

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
The integer representation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

values List<Day>
All the possible values for the Day enumeration.
read-only

Constants

friday → const Day
Friday.
const Day(6)
monday → const Day
Monday.
const Day(2)
saturday → const Day
Saturday.
const Day(7)
sunday → const Day
Sunday.
const Day(1)
thursday → const Day
Thursday.
const Day(5)
tuesday → const Day
Tuesday.
const Day(3)
wednesday → const Day
Wednesday.
const Day(4)