toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> rst = {"type": "Bubble"};
  rst.addAll(super.toJson());
  rst["side"] = side.toJson();
  rst["borderRadius"] = borderRadius.toJson();
  rst["arrowHeight"] = arrowHeight.toJson();
  rst["arrowWidth"] = arrowWidth.toJson();
  rst["arrowCenterPosition"] = arrowCenterPosition.toJson();
  rst["arrowHeadPosition"] = arrowHeadPosition.toJson();

  return rst;
}