WeekDay enum

Inheritance

Constructors

WeekDay(int number, String symbol)
const
WeekDay.fromDateTime(DateTime day)
factory
WeekDay.fromIntWeekday(int weekDay)
factory

Values

monday → const WeekDay
const WeekDay(DateTime.monday, 'M')
tuesday → const WeekDay
const WeekDay(DateTime.tuesday, 'Tu')
wednesday → const WeekDay
const WeekDay(DateTime.wednesday, 'W')
thursday → const WeekDay
const WeekDay(DateTime.thursday, 'Th')
friday → const WeekDay
const WeekDay(DateTime.friday, 'F')
saturday → const WeekDay
const WeekDay(DateTime.saturday, 'Sa')
sunday → const WeekDay
const WeekDay(DateTime.sunday, 'Su')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
number int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
final

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

Constants

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