GoogleIdentityStsV1ExchangeTokenResponse.fromJson constructor

GoogleIdentityStsV1ExchangeTokenResponse.fromJson(
  1. Map json_
)

Implementation

GoogleIdentityStsV1ExchangeTokenResponse.fromJson(core.Map json_)
    : this(
        accessToken: json_.containsKey('access_token')
            ? json_['access_token'] as core.String
            : null,
        expiresIn: json_.containsKey('expires_in')
            ? json_['expires_in'] as core.int
            : null,
        issuedTokenType: json_.containsKey('issued_token_type')
            ? json_['issued_token_type'] as core.String
            : null,
        tokenType: json_.containsKey('token_type')
            ? json_['token_type'] as core.String
            : null,
      );