toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json['oauth2CredentialId'] = oauth2CredentialId;
  _json['authCode'] = authCode;
  _json['redirectUri'] = redirectUri;
  _json['codeVerifier'] = codeVerifier;
  if (nonce != null) {
    _json['nonce'] = nonce;
  }
  if (bearerTokenTargetPublicKey != null) {
    _json['bearerTokenTargetPublicKey'] = bearerTokenTargetPublicKey;
  }
  return _json;
}