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"]);
}