copyWith method
Implementation
TracingState copyWith({
List<InputEvent>? events,
Map<int, InputEvent>? runningActions,
Map<String, ActionInfo>? historicalActions,
bool? hasTracing,
bool? hasFinishedEvents,
int? clientDelay,
}) {
return TracingState(
events: events ?? this.events,
runningActions: runningActions ?? this.runningActions,
historicalActions: historicalActions ?? this.historicalActions,
hasTracing: hasTracing ?? this.hasTracing,
hasFinishedEvents: hasFinishedEvents ?? this.hasFinishedEvents,
clientDelay: clientDelay ?? this.clientDelay,
);
}