ModelAssociation class

Mixed in types
Annotations
  • @immutable

Constructors

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})
const

Properties

associatedName String?
final
associatedType String?
final
associationType ModelAssociationEnum
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetName String?
final
targetNames List<String>?
final

Methods

copyWith({ModelAssociationEnum? associationType, String? targetName, List<String>? targetNames, String? associatedName, String? associatedType}) ModelAssociation
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Serializes this as a JSON object.
override
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited