Unauthorized constructor

const Unauthorized({
  1. String? message,
  2. ErrorType errorType = ErrorType.unauthorized,
})

Implementation

const Unauthorized({
  String? message,
  ErrorType errorType = ErrorType.unauthorized,
}) : super(errorType, message: message);