copyWith method
Implementation
ScoreMarkState copyWith({
bool? loading,
String? error,
bool clearError = false,
bool? playing,
}) => ScoreMarkState(
loading: loading ?? this.loading,
error: clearError ? null : (error ?? this.error),
playing: playing ?? this.playing,
);