Task: Add sample client sdk

This commit is contained in:
2021-09-04 19:07:29 +07:00
commit 82de95b4b7
13 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import 'package:sample_dart_dsdk/sdk/models/CategoryModel.dart';
class CategoryService {
List<Category> getAll() {
return List.empty();
}
}

View File

@@ -0,0 +1,15 @@
import 'package:sample_dart_dsdk/sdk/models/ProductModel.dart';
class ProductService {
List<Product> getAll() {
return List.empty();
}
Product getOne() {
return Product.fromJson(null);
}
Product create() {
return Product.fromJson(null);
}
}