toContentJson method

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

toJson

Implementation

@override
Map<String, dynamic> toContentJson() {
  return <String, dynamic>{
    'isEllipse': isEllipse,
    'startFromCenter': startFromCenter,
    'center': center.toJson(),
    'radius': radius,
    'startPoint': startPoint.toJson(),
    'endPoint': endPoint.toJson(),
    'paint': paint.toJson(),
  };
}