mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:17:00 +08:00
feat: reorganize attachments provider and model structure
This commit is contained in:
19
lib/dashbot/core/model/chat_attachment.dart
Normal file
19
lib/dashbot/core/model/chat_attachment.dart
Normal 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,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user