Curve.fromJSON constructor

Curve.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

Curve.fromJSON(Map<String, dynamic> json) {
  arcLengthDivisions = json["arcLengthDivisions"];
  v1 = Vector2.fromJSON(json["v1"]);
  v2 = Vector2.fromJSON(json["v2"]);
}