Compute the Duration from seconds.
Duration get duration { return Duration( microseconds: (seconds * Duration.microsecondsPerSecond).toInt()); }