AttributeRelationship class

AttributeRelationship

Implemented types

Constructors

AttributeRelationship({required String key, required String type, required String status, required String error, required bool xrequired, bool? array, required String relatedCollection, required String relationType, required bool twoWay, required String twoWayKey, required String onDelete, required String side})
AttributeRelationship.fromMap(Map<String, dynamic> map)
factory

Properties

array bool?
Is attribute an array?
final
error String
Error message. Displays error generated on failure of creating or deleting an attribute.
final
hashCode int
The hash code for this object.
no setterinherited
key String
Attribute Key.
final
onDelete String
How deleting the parent document will propagate to child documents.
final
relatedCollection String
The ID of the related collection.
final
relationType String
The type of the relationship.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
side String
Whether this is the parent or child side of the relationship
final
status String
Attribute status. Possible values: available, processing, deleting, stuck, or failed
final
twoWay bool
Is the relationship two-way?
final
twoWayKey String
The key of the two-way relationship.
final
type String
Attribute type.
final
xrequired bool
Is attribute required?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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