toJson method

dynamic toJson()
inherited

Create JSON serializable representation of this Node.

Implementation

dynamic toJson() => {
      "type": type,
      "properties": properties,
      "labelProperty": labelProperty,
      "uniqueProperty": uniqueProperty,
      "urlProperty": urlProperty,
      "icon": icon.toJson(),
    };