You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
587 B

import 'package:bytedesk_kefu/http/bytedesk_user_api.dart';
class TicketRepository {
final BytedeskUserHttpApi bytedeskHttpApi = BytedeskUserHttpApi();
TicketRepository();
// Future<List<HelpCategory>> getHelpTicketCategories() async {
// return await bytedeskHttpApi.getHelpTicketCategories();
// }
// Future<JsonResult> submitTicket(String? content, List<String> imageUrls) async {
// return await bytedeskHttpApi.submitTicket(content, imageUrls);
// }
Future<String> upload(String? filePath) async {
return await bytedeskHttpApi.upload(filePath);
}
}