Node.fromJson constructor
Node.fromJson(
- dynamic json
Construct a Node from a JSON object.
Implementation
factory Node.fromJson(dynamic json) {
return Node(
type: json["type"],
properties: json["properties"],
labelProperty: json["labelProperty"],
uniqueProperty: json["uniqueProperty"],
urlProperty: json["urlProperty"],
icon: NodeIcon.fromJson(json["icon"]),
);
}