copyWith method
Returns a copy of this object with its field values replaced by the ones provided to this method.
Implementation
BehaviorInstanceDependee copyWith({
String? type,
Relative? target,
String? level,
}) {
return BehaviorInstanceDependee(
type: type ?? this.type,
target: target ?? this.target.copyWith(),
level: level ?? this.level,
);
}