toJson method
Implementation
Map<String, dynamic> toJson() => {
'auto_start_disabled': autoStartDisabled,
'not_ready_tint_color': notReadyTintColor?.hex,
'ready_tint_color': readyTintColor?.hex,
'progress_bar_color': progressBarColor?.hex,
'ready_floating_prompt_background_color': readyFloatingPromptBackgroundColor?.hex,
'not_ready_floating_prompt_background_color': notReadyFloatingPromptBackgroundColor?.hex,
'ready_overlay_stroke_color': readyOverlayStrokeColor?.hex,
'not_ready_overlay_stroke_color': notReadyOverlayStrokeColor?.hex,
}._withoutNullValues();