toJson method
Implementation
Map<String, dynamic> toJson() => {
"bgColor": bgColor,
"bgOpacity": bgOpacity,
"toolTipPosition": toolTipPosition,
"toolTipArrow": toolTipArrow,
"spotlightPosition": spotlightPosition,
"spotlightArrow": spotlightArrow,
"spotlightX": spotlightX,
"spotlightY": spotlightY,
"arrowImageId": arrowImageId,
"coachColor": coachColor,
"coachmarkPosition": coachmarkPosition,
"coachRadius": coachRadius,
"pipPosition": pipPosition,
"hasBorder": hasBorder,
"borderColor": borderColor,
"borderWidth": borderWidth,
"hasAdvancedOptions": hasAdvancedOptions,
"roundness": roundness,
"padding": padding?.toJson(),
"margin": margin?.toJson(),
"showCloseButton": showCloseButton,
"closeButtonColor": closeButtonColor,
"bgOverlay": bgOverlay,
"overlayColor": overlayColor,
"overlayOpacity": overlayOpacity,
"_id": id,
};