toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (resizerColor != null) 'resizerColor': resizerColor!.toJson(),
if (resizerHandleColor != null)
'resizerHandleColor': resizerHandleColor!.toJson(),
if (maskColor != null) 'maskColor': maskColor!.toJson(),
};
}