operator / method

double operator /(
  1. Duration otherDuration
)

Divides this by otherDuration and returns a fraction.

Example:

1.minutes() / 2.minutes(); // 0.5

Implementation

double operator /(Duration otherDuration) {
  return inMicroseconds.toDouble() / otherDuration.inMicroseconds.toDouble();
}