SplineCurve.fromJSON constructor
Implementation
SplineCurve.fromJSON(Map<String, dynamic> json) : super.fromJSON(json) {
points = [];
type = 'SplineCurve';
isSplineCurve = true;
for (var i = 0, l = json["points"].length; i < l; i++) {
var point = json["points"][i];
points.add(Vector2(null, null).fromArray(point));
}
}