NodeInput.fromJson constructor

NodeInput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NodeInput.fromJson(Map<String, dynamic> json) => NodeInput(
    id: json["id"] == null ? null : json["id"],
    next:
        List<EdgeInput>.from(json["next"].map((x) => EdgeInput.fromJson(x))),
    size: json["size"] == null ? null : NodeSize.fromJson(json["size"]));