operator == method

bool operator == (dynamic other)
override

Returns true if this Duration has the same value as other.

Implementation

bool operator ==(dynamic other) =>
    other is Duration && _duration == other.inMicroseconds;