IdentityServiceLdapConfig.fromJson constructor

IdentityServiceLdapConfig.fromJson(
  1. Map json_
)

Implementation

IdentityServiceLdapConfig.fromJson(core.Map json_)
    : this(
        group: json_.containsKey('group')
            ? IdentityServiceGroupConfig.fromJson(
                json_['group'] as core.Map<core.String, core.dynamic>)
            : null,
        server: json_.containsKey('server')
            ? IdentityServiceServerConfig.fromJson(
                json_['server'] as core.Map<core.String, core.dynamic>)
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? IdentityServiceServiceAccountConfig.fromJson(
                json_['serviceAccount']
                    as core.Map<core.String, core.dynamic>)
            : null,
        user: json_.containsKey('user')
            ? IdentityServiceUserConfig.fromJson(
                json_['user'] as core.Map<core.String, core.dynamic>)
            : null,
      );