duration property

Duration get duration

Implementation

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