ModelAssociation class
- Mixed in types
- Annotations
Constructors
-
ModelAssociation({required ModelAssociationEnum associationType, 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
-
targetNames
→ List<
String> ? -
final
Methods
-
copyWith(
{ModelAssociationEnum? associationType, 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