OAuth2Response.errorResponse constructor

OAuth2Response.errorResponse({
  1. int httpStatusCode = 404,
  2. String? error,
  3. String? errorDescription,
  4. String? errorUri,
  5. Exception? exception,
  6. StackTrace? stackTrace,
})

Implementation

OAuth2Response.errorResponse({
  int httpStatusCode = 404,
  String? error,
  String? errorDescription,
  String? errorUri,
  this.exception,
  this.stackTrace,
}) : respMap = {
       'http_status_code': httpStatusCode,
       'error': error,
       'error_description': errorDescription,
       'errorUri': errorUri,
     };