AppException.unauthorized constructor

AppException.unauthorized(
  1. [String message = 'Unauthorized']
)

Implementation

AppException.unauthorized([this.message = 'Unauthorized'])
    : code = HttpStatus.unauthorized;