DirectusRelation class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

DirectusRelation({int? id, String? manyCollection, String? manyField, String? manyPrimary, String? oneCollection, String? oneField, String? onePrimary, String? oneCollectionField, String? oneAllowedCollections, String? junctionField})
DirectusRelation.fromJson(Map<String, Object?> json)
Used for code generation
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
junctionField String?
getter/setter pair
manyCollection String?
getter/setter pair
manyField String?
getter/setter pair
manyPrimary String?
getter/setter pair
oneAllowedCollections String?
getter/setter pair
oneCollection String?
getter/setter pair
oneCollectionField String?
getter/setter pair
oneField String?
getter/setter pair
onePrimary String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Used for code generation
toString() String
A string representation of this object.
inherited

Operators

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