operator == method

bool operator ==(
  1. Object other
)
override

Whether this Duration is equivalent to other.

Durations are equivalent if they have the same number of microseconds, as reported by inMicroseconds.

Implementation

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