duration_ property

  1. @JsonKey(includeFromJson: false, includeToJson: false)
Duration get duration_

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);