toContentJson method
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(),
};
}