Files
wehub-resource-sync bb087aad19
CI / format (push) Failing after 2s
CI / packaging (push) Failing after 0s
CI / test (push) Failing after 3s
chore: import upstream snapshot with attribution
2026-07-13 11:58:56 +08:00

21 lines
540 B
Dart

import 'package:common/model/dto/file_dto.dart';
import 'package:dart_mappable/dart_mappable.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,
});
}