fromJSON method
Implementation
@override
fromJSON(json) {
super.fromJSON(json);
uuid = json.uuid;
holes = [];
for (var i = 0, l = json.holes.length; i < l; i++) {
var hole = json.holes[i];
holes.add(Path.fromJSON(hole));
}
return this;
}