QuadraticBezierCurve.fromJSON constructor

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

Implementation

QuadraticBezierCurve.fromJSON(Map<String, dynamic> json) : super.fromJSON(json) {
  type = 'QuadraticBezierCurve';
  isQuadraticBezierCurve = true;

  v0.fromArray(json["v0"]);
  v1.fromArray(json["v1"]);
  v2.fromArray(json["v2"]);
}