GoogleIdentityStsV1ExchangeTokenRequest.fromJson constructor

GoogleIdentityStsV1ExchangeTokenRequest.fromJson(
  1. Map json_
)

Implementation

GoogleIdentityStsV1ExchangeTokenRequest.fromJson(core.Map json_)
    : this(
        audience: json_.containsKey('audience')
            ? json_['audience'] as core.String
            : null,
        grantType: json_.containsKey('grantType')
            ? json_['grantType'] as core.String
            : null,
        options: json_.containsKey('options')
            ? json_['options'] as core.String
            : null,
        requestedTokenType: json_.containsKey('requestedTokenType')
            ? json_['requestedTokenType'] as core.String
            : null,
        scope:
            json_.containsKey('scope') ? json_['scope'] as core.String : null,
        subjectToken: json_.containsKey('subjectToken')
            ? json_['subjectToken'] as core.String
            : null,
        subjectTokenType: json_.containsKey('subjectTokenType')
            ? json_['subjectTokenType'] as core.String
            : null,
      );