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