fixed typing issue for the attachmentResponse

This commit is contained in:
Juan Marulanda De Los Rios 2025-02-22 00:15:59 -05:00
parent fb9f7135dd
commit 75e2505eb3

View File

@ -143,6 +143,6 @@ class AttachmentResponse {
AttachmentResponse({required this.name, required this.data});
factory AttachmentResponse.fromJson(Map<String, dynamic> json) {
return AttachmentResponse(name: json["name"], data: json["data"],);
return AttachmentResponse(name: json["name"], data: Uint8List.fromList(List<int>.from(json["data"])));
}
}