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

Represents a 401 response.

Source

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