toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (callbackUri != null) 'callbackUri': callbackUri!,
      if (changeEmailTemplate != null)
        'changeEmailTemplate': changeEmailTemplate!,
      if (dnsInfo != null) 'dnsInfo': dnsInfo!,
      if (legacyResetPasswordTemplate != null)
        'legacyResetPasswordTemplate': legacyResetPasswordTemplate!,
      if (method != null) 'method': method!,
      if (resetPasswordTemplate != null)
        'resetPasswordTemplate': resetPasswordTemplate!,
      if (revertSecondFactorAdditionTemplate != null)
        'revertSecondFactorAdditionTemplate':
            revertSecondFactorAdditionTemplate!,
      if (smtp != null) 'smtp': smtp!,
      if (verifyEmailTemplate != null)
        'verifyEmailTemplate': verifyEmailTemplate!,
    };