CubicBezierCurve.fromJSON constructor

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

Implementation

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

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