operator == method
Whether all components of this
RelativeDuration are equal to the
respective components of the other
RelativeDuration.
Implementation
@override
bool operator ==(Object other) {
return other is RelativeDuration &&
_months == other._months &&
_days == other._days &&
_microseconds == other._microseconds;
}