toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (enableSignUpWithEmail != null) {
    _json[r'EnableSignUpWithEmail'] = enableSignUpWithEmail;
  }
  if (enableSignInWithEmail != null) {
    _json[r'EnableSignInWithEmail'] = enableSignInWithEmail;
  }
  if (enableSignInWithUsername != null) {
    _json[r'EnableSignInWithUsername'] = enableSignInWithUsername;
  }
  if (sendEmailNotifications != null) {
    _json[r'SendEmailNotifications'] = sendEmailNotifications;
  }
  if (requireEmailVerification != null) {
    _json[r'RequireEmailVerification'] = requireEmailVerification;
  }
  if (feedbackName != null) {
    _json[r'FeedbackName'] = feedbackName;
  }
  if (feedbackEmail != null) {
    _json[r'FeedbackEmail'] = feedbackEmail;
  }
  if (feedbackOrganization != null) {
    _json[r'FeedbackOrganization'] = feedbackOrganization;
  }
  if (sMTPUsername != null) {
    _json[r'SMTPUsername'] = sMTPUsername;
  }
  if (sMTPPassword != null) {
    _json[r'SMTPPassword'] = sMTPPassword;
  }
  if (sMTPServer != null) {
    _json[r'SMTPServer'] = sMTPServer;
  }
  if (sMTPPort != null) {
    _json[r'SMTPPort'] = sMTPPort;
  }
  if (connectionSecurity != null) {
    _json[r'ConnectionSecurity'] = connectionSecurity;
  }
  if (inviteSalt != null) {
    _json[r'InviteSalt'] = inviteSalt;
  }
  if (passwordResetSalt != null) {
    _json[r'PasswordResetSalt'] = passwordResetSalt;
  }
  if (sendPushNotifications != null) {
    _json[r'SendPushNotifications'] = sendPushNotifications;
  }
  if (pushNotificationServer != null) {
    _json[r'PushNotificationServer'] = pushNotificationServer;
  }
  if (pushNotificationContents != null) {
    _json[r'PushNotificationContents'] = pushNotificationContents;
  }
  if (enableEmailBatching != null) {
    _json[r'EnableEmailBatching'] = enableEmailBatching;
  }
  if (emailBatchingBufferSize != null) {
    _json[r'EmailBatchingBufferSize'] = emailBatchingBufferSize;
  }
  if (emailBatchingInterval != null) {
    _json[r'EmailBatchingInterval'] = emailBatchingInterval;
  }
  return _json;
}