Response.unauthorized constructor Null safety

Response.unauthorized(
  1. {Map<String, dynamic>? headers,
  2. dynamic body}
)

Represents a 401 response.

Implementation

Response.unauthorized({Map<String, dynamic>? headers, dynamic body})
    : this(HttpStatus.unauthorized, headers, body);