toSmallDayName property
String
get
toSmallDayName
Gets the short day name (e.g., "Mon") corresponding to this number (1-7).
Example:
1.toSmallDayName; // Returns "Mon"
7.toSmallDayName; // Returns "Sun"
If the number is outside the range 1-7, it will be clamped within this range.
Implementation
String get toSmallDayName => toFullDayName.substring(0, 3);