copyWith method
Implementation
TrainingPreviewState copyWith({bool? noSound, bool? playing}) =>
TrainingPreviewState(
preview: preview,
document: document,
scoreError: scoreError,
noSound: noSound ?? this.noSound,
playing: playing ?? this.playing,
);