DayOfWeek enum
A day-of-week, such as 'Tuesday'.
Values
- monday → const DayOfWeek
-
Monday day-of-week.
- tuesday → const DayOfWeek
-
Tuesday day-of-week.
- wednesday → const DayOfWeek
-
Wednesday day-of-week.
- thursday → const DayOfWeek
-
Thursday day-of-week.
- friday → const DayOfWeek
-
Friday day-of-week.
- saturday → const DayOfWeek
-
Saturday day-of-week.
- sunday → const DayOfWeek
-
Sunday day-of-week.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- value → int
-
The day-of-week value.
The values are numbered following the ISO-8601 standard,
from 1 (Monday) to 7 (Sunday).
no setter
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