operator == method
Compares two AnnualDate values for equality.
- this: The first value to compare
rhs
: The second value to compare
Returns: True if the two dates are the same; false otherwise
Implementation
@override
bool operator ==(Object rhs) => rhs is AnnualDate && _value == rhs._value;