toJSON method

  1. @override
dynamic toJSON()
override

Implementation

@override
toJSON() {
  var data = super.toJSON();

  data["aX"] = aX;
  data["aY"] = aY;

  data["xRadius"] = xRadius;
  data["yRadius"] = yRadius;

  data["aStartAngle"] = aStartAngle;
  data["aEndAngle"] = aEndAngle;

  data["aClockwise"] = aClockwise;

  data["aRotation"] = aRotation;

  return data;
}