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