dayName property
String
get
dayName
Get the name of the day of week
Example:
final date = DateTime(2023, 12, 25); // Monday
print(date.dayName); // "Monday"
Implementation
String get dayName => format('EEEE');