operator == method
- Object other
override
Whether this Duration has the same length as other.
Durations have the same length if they have the same number of microseconds, as reported by inMicroseconds.
Implementation
bool operator ==(Object other) =>
other is Duration && _duration == other.inMicroseconds;