AccessSettings.fromJson constructor

AccessSettings.fromJson(
  1. Map json_
)

Implementation

AccessSettings.fromJson(core.Map json_)
    : this(
        allowedDomainsSettings: json_.containsKey('allowedDomainsSettings')
            ? AllowedDomainsSettings.fromJson(json_['allowedDomainsSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        corsSettings: json_.containsKey('corsSettings')
            ? CorsSettings.fromJson(
                json_['corsSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        gcipSettings: json_.containsKey('gcipSettings')
            ? GcipSettings.fromJson(
                json_['gcipSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        identitySources: json_.containsKey('identitySources')
            ? (json_['identitySources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        oauthSettings: json_.containsKey('oauthSettings')
            ? OAuthSettings.fromJson(
                json_['oauthSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        policyDelegationSettings:
            json_.containsKey('policyDelegationSettings')
                ? PolicyDelegationSettings.fromJson(
                    json_['policyDelegationSettings']
                        as core.Map<core.String, core.dynamic>)
                : null,
        reauthSettings: json_.containsKey('reauthSettings')
            ? ReauthSettings.fromJson(json_['reauthSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        workforceIdentitySettings:
            json_.containsKey('workforceIdentitySettings')
                ? WorkforceIdentitySettings.fromJson(
                    json_['workforceIdentitySettings']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );