toJson method

Map<String, dynamic> toJson()

Implementation

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