ModelAssociation constructor
const
ModelAssociation({
- required ModelAssociationEnum associationType,
- @Deprecated('Please use the latest version of Amplify CLI to regenerate models') String? targetName,
- List<
String> ? targetNames, - String? associatedName,
- String? associatedType,
Implementation
const ModelAssociation({
required this.associationType,
@Deprecated(
'Please use the latest version of Amplify CLI to regenerate models',
)
this.targetName,
this.targetNames,
this.associatedName,
this.associatedType,
});