toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (complexity != null) 'complexity': complexity!,
      if (disallowCompromisedCredentials != null)
        'disallowCompromisedCredentials': disallowCompromisedCredentials!,
      if (disallowUsernameSubstring != null)
        'disallowUsernameSubstring': disallowUsernameSubstring!,
      if (enablePasswordPolicy != null)
        'enablePasswordPolicy': enablePasswordPolicy!,
      if (minLength != null) 'minLength': minLength!,
      if (passwordChangeInterval != null)
        'passwordChangeInterval': passwordChangeInterval!,
      if (reuseInterval != null) 'reuseInterval': reuseInterval!,
    };