toJson method

dynamic toJson()
inherited

Create JSON serializable representation of this Relation.

Implementation

dynamic toJson() => {
      "type": type,
      "fromNodeId": fromNodeId,
      "toNodeId": toNodeId,
      "properties": properties,
      "labelProperty": labelProperty,
    };