copyWith method
Implementation
ModelAssociation copyWith({
ModelAssociationEnum? associationType,
String? targetName,
List<String>? targetNames,
String? associatedName,
String? associatedType,
}) {
return ModelAssociation(
associationType: associationType ?? this.associationType,
targetName: targetName ?? this.targetName,
targetNames: targetNames ?? this.targetNames,
associatedName: associatedName ?? this.associatedName,
associatedType: associatedType ?? this.associatedType,
);
}