duration_ property

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

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
Duration? get duration_ =>
    duration == null ? null : TimeHelper.toDuration(duration!);
set duration_ (Duration? duration)

Implementation

set duration_(Duration? duration) =>
    this.duration = duration == null ? null : TimeHelper.toSeconds(duration);