IdentityAwareProxy.fromJson constructor

IdentityAwareProxy.fromJson(
  1. Map json_
)

Implementation

IdentityAwareProxy.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        oauth2ClientId: json_.containsKey('oauth2ClientId')
            ? json_['oauth2ClientId'] as core.String
            : null,
        oauth2ClientSecret: json_.containsKey('oauth2ClientSecret')
            ? json_['oauth2ClientSecret'] as core.String
            : null,
        oauth2ClientSecretSha256:
            json_.containsKey('oauth2ClientSecretSha256')
                ? json_['oauth2ClientSecretSha256'] as core.String
                : null,
      );