copyWith method
Implementation
SceneBuilderStatus copyWith({
bool? isRunning,
SceneAction? currentAction,
}) {
if (isRunning == this.isRunning && currentAction == this.currentAction) {
return this;
}
return SceneBuilderStatus(
isRunning: isRunning ?? this.isRunning,
currentAction: currentAction ?? this.currentAction,
);
}