endFraction method

double endFraction (
  1. Duration duration
)

Implementation

double endFraction(Duration duration) {
  return end.inMilliseconds / duration.inMilliseconds;
}