divideBy method

int divideBy(
  1. Duration other
)

Divides a Duration by another Duration.

Implementation

int divideBy(Duration other) => inMicroseconds ~/ other.inMicroseconds;