ErrorResponse.unauthorized constructor
ErrorResponse.unauthorized({
- String message = "Unauthorized",
Implementation
factory ErrorResponse.unauthorized({String message = "Unauthorized"}) {
return ErrorResponse(status: ResponseStatus.unauthorized, message: message);
}