copyWith method
Implementation
BarrageWallValue copyWith({
// int lastProcessedTime,
required int processedSize,
int? showedTimeBefore,
List<Bullet>? waitingList,
}) =>
BarrageWallValue(
bullets: bullets,
showedTimeBefore: showedTimeBefore ?? this.showedTimeBefore,
waitingList: waitingList ?? this.waitingList,
size: this.size,
processedSize: this.processedSize + processedSize,
);