import 'package:bytedesk_kefu/http/bytedesk_feedback_api.dart'; import 'package:bytedesk_kefu/model/helpCategory.dart'; import 'package:bytedesk_kefu/model/jsonResult.dart'; class FeedbackRepository { final BytedeskFeedbackHttpApi bytedeskHttpApi = BytedeskFeedbackHttpApi(); FeedbackRepository(); Future> getHelpFeedbackCategories(String? uid) async { return await bytedeskHttpApi.getHelpFeedbackCategories(uid); } Future submitFeedback( String? content, List? imageUrls) async { return await bytedeskHttpApi.submitFeedback(content, imageUrls); } Future upload(String? filePath) async { return await bytedeskHttpApi.upload(filePath); } }