UnauthorizedException constructor Null safety

UnauthorizedException(
  1. {String? type,
  2. String? message}
)

Implementation

UnauthorizedException({String? type, String? message})
    : super(type: type, code: 'UnauthorizedException', message: message);