WorkforceIdentitySettings.fromJson constructor

WorkforceIdentitySettings.fromJson(
  1. Map json_
)

Implementation

WorkforceIdentitySettings.fromJson(core.Map json_)
    : this(
        oauth2: json_.containsKey('oauth2')
            ? OAuth2.fromJson(
                json_['oauth2'] as core.Map<core.String, core.dynamic>)
            : null,
        workforcePools: json_.containsKey('workforcePools')
            ? (json_['workforcePools'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );