WeekDay enum
A WeekDay enum.
Contains the days of the week.
In this enum, Sunday is the first day of the week.
Sabbath is the seventh day of the week, which is Saturday.
Values
- sunday → const WeekDay
-
Sunday is the first day of the week.
- monday → const WeekDay
-
Monday is the second day of the week.
- tuesday → const WeekDay
-
Tuesday is the third day of the week.
- wednesday → const WeekDay
-
Wednesday is the fourth day of the week.
- thursday → const WeekDay
-
Thursday is the fifth day of the week.
- friday → const WeekDay
-
Friday is the sixth day of the week.
- sabbath → const WeekDay
-
Sabbath is the seventh day of the week, which is Saturday.
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
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