copyWith method
Implementation
ProgressBarState copyWith({
Duration? current,
Duration? buffered,
Duration? total,
}) {
return ProgressBarState(
current: current ?? this.current,
buffered: buffered ?? this.buffered,
total: total ?? this.total,
);
}