duration property

Duration duration

Implementation

Duration get duration {
  return Duration(milliseconds: (seconds * 1000).round());
}