operator == method
Implements the operator == (equality).
left
: The left hand side of the operator.right
: The right hand side of the operator.
Returns: true
if values are equal to each other, otherwise false
.
Implementation
@override
bool operator ==(Object right) => right is OffsetDate && equals(right);