TypedLinkFacet class

Defines the typed links structure and its attributes. To create a typed link facet, use the CreateTypedLinkFacet API.

Constructors

TypedLinkFacet({required List<TypedLinkAttributeDefinition> attributes, required List<String> identityAttributeOrder, required String name})

Properties

attributes List<TypedLinkAttributeDefinition>
A set of key-value pairs associated with the typed link. Typed link attributes are used when you have data values that are related to the link itself, and not to one of the two objects being linked. Identity attributes also serve to distinguish the link from others of the same type between the same objects.
final
hashCode int
The hash code for this object.
no setterinherited
identityAttributeOrder List<String>
The set of attributes that distinguish links made from this facet from each other, in the order of significance. Listing typed links can filter on the values of these attributes. See ListOutgoingTypedLinks and ListIncomingTypedLinks for details.
final
name String
The unique name of the typed link facet.
final
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, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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