Skip to content

Commit dadc75a

Browse files
committed
First Module Done (list of products,single product and count products)
1 parent 927d1ef commit dadc75a

File tree

9 files changed

+710
-229
lines changed

9 files changed

+710
-229
lines changed

.idea/libraries/Dart_Packages.xml

Lines changed: 178 additions & 184 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Dart_SDK.xml

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Flutter_Plugins.xml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dart_test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
tags:
22
products:
3-
get-products:
3+
get-products:
4+
product:
5+
get-product:
6+
count:
7+
get-Count:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class CountResponse {
2+
int? count;
3+
4+
CountResponse({this.count});
5+
6+
CountResponse.fromJson(Map<String, dynamic> json) {
7+
count = json['count'];
8+
}
9+
10+
Map<String, dynamic> toJson() {
11+
final Map<String, dynamic> data = new Map<String, dynamic>();
12+
data['count'] = this.count;
13+
return data;
14+
}
15+
}

0 commit comments

Comments
 (0)