copyWith method
ChartRoundState
copyWith({ - Map<ChartSlot, Color>? colors,
- Map<int, HeardNote>? heard,
- String? message,
- bool? started,
- int? echoClosed,
- int? scoreBar,
- RoundResult? finished,
- int? serial,
})
Implementation
ChartRoundState copyWith({
Map<ChartSlot, Color>? colors,
Map<int, HeardNote>? heard,
String? message,
bool? started,
int? echoClosed,
int? scoreBar,
RoundResult? finished,
int? serial,
}) => ChartRoundState(
colors: colors ?? this.colors,
heard: heard ?? this.heard,
message: message ?? this.message,
started: started ?? this.started,
echoClosed: echoClosed ?? this.echoClosed,
scoreBar: scoreBar ?? this.scoreBar,
finished: finished ?? this.finished,
serial: serial ?? this.serial,
);