weekdayName property
String
get
weekdayName
Gets the full name of the weekday.
Converts Dart's weekday (1=Monday to 7=Sunday) to locale's weekdays list which starts from Sunday (index 0).
Implementation
String get weekdayName => locale.weekdays[weekday % 7];