toJson method

  1. @override
Map<String, dynamic> toJson()
override

Returns a JSON object representation of this instance.

Implementation

@override
Map<String,dynamic> toJson() {
  Map<String,dynamic> 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;
}