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