toFullMonthName property
String
get
toFullMonthName
Gets the full month name (e.g., "January") corresponding to this number (1-12).
Example:
1.toFullMonthName; // Returns "January"
12.toFullMonthName; // Returns "December"
If the number is outside the range 1-12, it will be clamped within this range.
Implementation
String get toFullMonthName {
final monthIndex = toInt().clamp(1, 12);
return fullMonthsNames[monthIndex]!;
}