toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    if (uiVariant != null) 'uiVariant': uiVariant!.toJson(),
    if (microphoneEnabled != null) 'microphoneEnabled': microphoneEnabled,
    if (soundGuidesEnabled != null) 'soundGuidesEnabled': soundGuidesEnabled,
    if (countdownEnabled != null) 'countdownEnabled': countdownEnabled,
    if (exitConfirmationEnabled != null)
      'exitConfirmationEnabled': exitConfirmationEnabled,
  };
}