toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (emailPasswordEnforcementState != null)
        'emailPasswordEnforcementState': emailPasswordEnforcementState!,
      if (managedRules != null) 'managedRules': managedRules!,
      if (phoneEnforcementState != null)
        'phoneEnforcementState': phoneEnforcementState!,
      if (recaptchaKeys != null) 'recaptchaKeys': recaptchaKeys!,
      if (tollFraudManagedRules != null)
        'tollFraudManagedRules': tollFraudManagedRules!,
      if (useAccountDefender != null)
        'useAccountDefender': useAccountDefender!,
      if (useSmsBotScore != null) 'useSmsBotScore': useSmsBotScore!,
      if (useSmsTollFraudProtection != null)
        'useSmsTollFraudProtection': useSmsTollFraudProtection!,
    };