ExchangeTokenResponse.fromJson constructor
ExchangeTokenResponse.fromJson(
- Map _json
Implementation
ExchangeTokenResponse.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,
);