copyWith method
Implementation
ReplayState copyWith({
int? currentIndex,
bool? isPlaying,
Duration? playbackSpeed,
}) => ReplayState(
sessionId: sessionId,
entries: entries,
currentIndex: currentIndex ?? this.currentIndex,
isPlaying: isPlaying ?? this.isPlaying,
playbackSpeed: playbackSpeed ?? this.playbackSpeed,
);