operator == method
override
Returns true
if this Duration is the same object as other
.
Implementation
bool operator ==(other) {
if (other is! Duration) return false;
return _duration == other._duration;
}
Returns true
if this Duration is the same object as other
.
bool operator ==(other) {
if (other is! Duration) return false;
return _duration == other._duration;
}