HyM attachments resolve: #2 #3
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -143,6 +143,6 @@ class AttachmentResponse {
 | 
				
			||||||
  AttachmentResponse({required this.name, required this.data});
 | 
					  AttachmentResponse({required this.name, required this.data});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  factory AttachmentResponse.fromJson(Map<String, dynamic> json) {
 | 
					  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"])));
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue