startFraction method

double startFraction (
  1. Duration duration
)

Implementation

double startFraction(Duration duration) {
  return start.inMilliseconds / duration.inMilliseconds;
}