step 31 : total history, change password, resize image from camera, update versi 1.2.0
This commit is contained in:
17
app_petty_cash/lib/model/history_total_model.dart
Normal file
17
app_petty_cash/lib/model/history_total_model.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
class HistoryTotalModel {
|
||||
String? totalAll;
|
||||
|
||||
HistoryTotalModel({
|
||||
this.totalAll,
|
||||
});
|
||||
|
||||
HistoryTotalModel.fromJson(Map<String, dynamic> json) {
|
||||
totalAll = json['total_all'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['total_all'] = this.totalAll;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user