operator == method
- Object other
override
Equal when year, month, and day match; the time of day is ignored.
Implementation
@override
bool operator ==(Object other) =>
other is PersianDate &&
other.year == year &&
other.month == month &&
other.day == day;