Files
Hamhoosh/coordinator_frontend/lib/models/document.dart
T

13 lines
283 B
Dart
Raw Normal View History

2026-06-25 21:21:30 +03:30
class DocumentInfo {
final String docId;
final int chunks;
DocumentInfo({required this.docId, required this.chunks});
factory DocumentInfo.fromJson(Map<String, dynamic> json) {
return DocumentInfo(
docId: json['doc_id'],
chunks: json['chunks'],
);
}
}