factory UnauthorizedException.fromJson(Map<String, dynamic> json) { return UnauthorizedException( message: json['message'] as String?, ); }