WorkloadIdentityPoolProvider.fromJson constructor

WorkloadIdentityPoolProvider.fromJson(
  1. Map json_
)

Implementation

WorkloadIdentityPoolProvider.fromJson(core.Map json_)
    : this(
        attributeCondition: json_.containsKey('attributeCondition')
            ? json_['attributeCondition'] as core.String
            : null,
        attributeMapping: json_.containsKey('attributeMapping')
            ? (json_['attributeMapping']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        aws: json_.containsKey('aws')
            ? Aws.fromJson(
                json_['aws'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        disabled: json_.containsKey('disabled')
            ? json_['disabled'] as core.bool
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        oidc: json_.containsKey('oidc')
            ? Oidc.fromJson(
                json_['oidc'] as core.Map<core.String, core.dynamic>)
            : null,
        saml: json_.containsKey('saml')
            ? Saml.fromJson(
                json_['saml'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );