Relation class
Base class of all Relations between Nodes.
Constructors
Properties
- fromNodeId → String
-
Id of the Node at the starting end of the Relation
final
- hashCode → int
-
Hash code of this Relation, which is equal to hash code of the Relation id.
no setteroverride
- id → String
-
Identifier of this Node. It's a combination of Relation type and Node ids
involved in this Relation, concatenated by a dash.
no setter
- label → String
-
no setter
- labelProperty → String
-
A property key within properties to be used as the label of the node.
Mainly used for visual identification purposes.
final
-
properties
→ Map<
String, dynamic> -
Relation properties. Keys must be string and values must be JSON serializable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toNodeId → String
-
Id of the Node at the finishing end of the Relation
final
- type → String
-
Type of Relation
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic - Create JSON serializable representation of this Relation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Equality checks for Relation id only
override