TwitterException constructor

TwitterException(
  1. String message,
  2. BaseResponse response, [
  3. String? body
])

Returns the new instance of TwitterException.

Implementation

TwitterException(this.message, this.response, [String? body])
    : body = response is Response ? response.body : body;