operator == method

bool operator == (
  1. 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;