add project

This commit is contained in:
chanthasuon
2021-03-01 22:16:41 +07:00
commit 7fb3f2582e
70 changed files with 1812 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
class CategoryResponse {
CategoryResponse({
this.id,
this.code,
this.name
});
int id;
String code;
String name;
Map<String,dynamic> config;
static CategoryResponse fromResponse(dynamic result){
return CategoryResponse(
id: int.parse(result["id"]),
code: result["code"],
name: result["name"]
);
}
}