DayOfWeek enum

Inheritance

Constructors

DayOfWeek(String dayName)
const

Values

MONDAY → const DayOfWeek
DayOfWeek("monday")
TUESDAY → const DayOfWeek
DayOfWeek("tuesday")
WEDNESDAY → const DayOfWeek
DayOfWeek("wednesday")
THURSDAY → const DayOfWeek
DayOfWeek("thursday")
FRIDAY → const DayOfWeek
DayOfWeek("friday")
SATURDAY → const DayOfWeek
DayOfWeek("saturday")
SUNDAY → const DayOfWeek
DayOfWeek("sunday")

Properties

dayName String
final
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromValue(String value) DayOfWeek?

Constants

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