DayOfWeek class final
Represents a day of the week.
- Inheritance
-
- Object
- ProtoEnum
- DayOfWeek
Constructors
- DayOfWeek(String value)
-
const
- DayOfWeek.fromJson(String json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotDefault → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- $default → const DayOfWeek
- The default value for DayOfWeek.
- dayOfWeekUnspecified → const DayOfWeek
- The day of the week is unspecified.
- friday → const DayOfWeek
- Friday
- monday → const DayOfWeek
- Monday
- saturday → const DayOfWeek
- Saturday
- sunday → const DayOfWeek
- Sunday
- thursday → const DayOfWeek
- Thursday
- tuesday → const DayOfWeek
- Tuesday
- wednesday → const DayOfWeek
- Wednesday