DayMonth class

A class that represents a day and month combination.

The DayMonth class is used to hold the values for a specific day and month. Both day and month are represented as nullable strings.

Example usage:

final date = DayMonth(day: '01', month: '01');
print('Day: ${date.day}, Month: ${date.month}');

Constructors

DayMonth({String? day, String? month})
Creates a new instance of the DayMonth class.

Properties

day String?
The day of the month.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
month String?
The name of the month.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited