Files
localsend/app/lib/model/state/send/web/web_send_file.dart
T
2026-07-14 20:29:20 +02:00

21 lines
555 B
Dart

import 'package:dart_mappable/dart_mappable.dart';
import 'package:localsend_app/isolate/model/dto/file_dto.dart';
import 'package:wechat_assets_picker/wechat_assets_picker.dart';
part 'web_send_file.mapper.dart';
@MappableClass()
class WebSendFile with WebSendFileMappable {
final FileDto file;
final AssetEntity? asset; // for thumbnails
final String? path; // android, iOS, desktop
final List<int>? bytes; // web
const WebSendFile({
required this.file,
required this.asset,
required this.path,
required this.bytes,
});
}