Relationship class

Code representation of Neo4J relationship

Constructors

Relationship({required Node startNode, required Node endNode, required Map<String, dynamic> properties})
Constructs relationship with startNode, endNode and properties
Relationship.fromJson(Map<String, dynamic> json)
Relationship.fromNeo4jJson(Map<String, dynamic> json)
Constructs relationship from JSON

Properties

endNode Node
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
identity int
getter/setter pair
properties Map<String, dynamic>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startNode Node
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Convert current relationship into string json
toString() String
A string representation of this object.
inherited

Operators

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