UnauthorizedException constructor

const UnauthorizedException([
  1. String? msg
])

Implementation

const UnauthorizedException([String? msg])
    : super(msg ?? 'Unauthorized. Please login again.', statusCode: 401);