Added file upload in talk

This commit is contained in:
2023-06-08 19:06:59 +02:00
parent f5afd7eb5e
commit 213c815eee
7 changed files with 123 additions and 24 deletions

@ -0,0 +1,23 @@
import 'package:json_annotation/json_annotation.dart';
part 'fileSharingApiParams.g.dart';
@JsonSerializable()
class FileSharingApiParams {
int shareType;
String shareWith;
String path;
String? referenceId;
String? talkMetaData;
FileSharingApiParams({
required this.shareType,
required this.shareWith,
required this.path,
this.referenceId,
this.talkMetaData
});
factory FileSharingApiParams.fromJson(Map<String, dynamic> json) => _$FileSharingApiParamsFromJson(json);
Map<String, dynamic> toJson() => _$FileSharingApiParamsToJson(this);
}