2021-03-01 22:16:41 +07:00
|
|
|
|
|
|
|
|
|
|
|
import 'package:flutter_service/model/CategoryResponse.dart';
|
|
|
|
import 'package:flutter_service/service/CategoryService.dart';
|
|
|
|
|
|
|
|
class ClientSDK {
|
|
|
|
|
2021-03-01 22:27:35 +07:00
|
|
|
ClientSDK._privateConstructor();
|
|
|
|
|
|
|
|
static final ClientSDK _instance = ClientSDK._privateConstructor();
|
|
|
|
|
|
|
|
static ClientSDK get instance => _instance;
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-03-01 22:16:41 +07:00
|
|
|
Future<List<CategoryResponse>> clientGetAllCategoryService() async {
|
|
|
|
return await getAllCategoryService();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|