Relation.fromJson constructor
Relation.fromJson(
- dynamic json
Construct a Relation from a JSON object.
Implementation
factory Relation.fromJson(dynamic json) {
return Relation(
type: json["type"],
fromNodeId: json["fromNodeId"],
toNodeId: json["toNodeId"],
properties: json["properties"],
labelProperty: json["labelProperty"],
);
}