CurvePath.fromJSON constructor
Implementation
CurvePath.fromJSON(Map<String, dynamic> json) : super.fromJSON(json) {
autoClose = json["autoClose"];
type = 'CurvePath';
curves = [];
for (var i = 0, l = json["curves"].length; i < l; i++) {
var curve = json["curves"][i];
curves.add(Curve.castJSON(curve));
}
}