copyWith method

BarrageValue copyWith({
  1. int? timeline,
  2. bool? isPlaying,
})

Implementation

BarrageValue copyWith({int? timeline, bool? isPlaying}) => BarrageValue(
    timeline: timeline ?? this.timeline,
    isPlaying: isPlaying ?? this.isPlaying);