copyWith method
Implementation
ScenarioMessage copyWith({
String? name,
String? description,
RunnableDebugInformation? context,
bool? hasPassed,
List<Tag>? tags,
Target? target,
}) {
return ScenarioMessage(
target: target ?? this.target,
name: name ?? this.name,
description: description ?? this.description,
context: context ?? this.context,
hasPassed: hasPassed ?? this.hasPassed,
tags: tags ?? this.tags,
);
}