copyWith method
Implementation
AffectedObject copyWith({String? name, String? objectType}) {
return AffectedObject(
name: name ?? this.name,
objectType: objectType ?? this.objectType,
);
}
AffectedObject copyWith({String? name, String? objectType}) {
return AffectedObject(
name: name ?? this.name,
objectType: objectType ?? this.objectType,
);
}