ExchangeTokenRequest.fromJson constructor

ExchangeTokenRequest.fromJson(
  1. Map _json
)

Implementation

ExchangeTokenRequest.fromJson(core.Map _json)
    : this(
        accessBoundary: _json.containsKey('accessBoundary')
            ? _json['accessBoundary'] as core.String
            : null,
        audience: _json.containsKey('audience')
            ? _json['audience'] as core.String
            : null,
        grantType: _json.containsKey('grantType')
            ? _json['grantType'] 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,
      );