duration_ property
Implementation
@JsonKey(includeFromJson: false, includeToJson: false)
Duration get duration_ => TimeHelper.toDuration(duration);
set
duration_
(Duration duration)
Implementation
set duration_(Duration duration) =>
this.duration = TimeHelper.toSeconds(duration);