SignalRHttpResponse constructor

SignalRHttpResponse(
  1. int statusCode, {
  2. String? statusText = '',
  3. Object? content,
})

Constructs a new instance of HttpResponse with the specified status code.

statusCode: The status code of the response. statusText: The status message of the response. content: The content of the response

Implementation

SignalRHttpResponse(int statusCode,
    {String? statusText = '', Object? content})
    : this.statusCode = statusCode,
      this.statusText = statusText,
      this.content = content;