operator / method

Time operator /(
  1. num quotient
)

Implementation

Time operator /(num quotient) {
  if (quotient.abs() < 1) return this * (1.0/quotient);

  if (canNanosecondsBeInteger) {
    return Time(nanoseconds: (_milliseconds * TimeConstants.nanosecondsPerMillisecond + _nanosecondsInterval) ~/ quotient);
  } else {
    return Time.bigIntNanoseconds(inNanosecondsAsBigInt ~/ BigInt.from(quotient));
  }
}