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,
        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,
      );