feat: reorganize attachments provider and model structure

This commit is contained in:
Udhay-Adithya
2025-09-21 02:00:11 +05:30
parent 61a91ae4dd
commit 671e4218cc
4 changed files with 22 additions and 20 deletions

View File

@@ -0,0 +1,19 @@
import 'package:flutter/services.dart';
class ChatAttachment {
final String id;
final String name;
final String mimeType;
final int sizeBytes;
final Uint8List data;
final DateTime createdAt;
ChatAttachment({
required this.id,
required this.name,
required this.mimeType,
required this.sizeBytes,
required this.data,
required this.createdAt,
});
}