getNodes static method
Implementation
static List<Node> getNodes(Map<String, dynamic> json) {
List<Node> nodes = [];
if (json['nodes'].runtimeType != Null ||
json['nodes'].toString() != 'null') {
json['nodes'].forEach((v) {
nodes.add(new Node.fromJson(v));
});
}
return nodes;
}