copyWith method
InfospectBreakpointCondition
copyWith({
- String? id,
- InfospectBreakpointMatchTarget? target,
- InfospectBreakpointMatchOp? op,
- String? key,
- String? value,
- bool clearKey = false,
- bool clearValue = false,
Implementation
InfospectBreakpointCondition copyWith({
String? id,
InfospectBreakpointMatchTarget? target,
InfospectBreakpointMatchOp? op,
String? key,
String? value,
bool clearKey = false,
bool clearValue = false,
}) {
return InfospectBreakpointCondition(
id: id ?? this.id,
target: target ?? this.target,
op: op ?? this.op,
key: clearKey ? null : (key ?? this.key),
value: clearValue ? null : (value ?? this.value),
);
}