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