check null safety

This commit is contained in:
tzw
2021-09-10 14:27:38 +06:30
parent a144c945b6
commit 7670779b03
57 changed files with 620 additions and 626 deletions

View File

@@ -1,9 +1,9 @@
class Receipt {
String id;
int amount;
String date;
String status;
String fileUrl;
String? id;
int? amount = 0;
String? date;
String? status;
String? fileUrl;
Receipt({this.id, this.amount, this.date, this.status, this.fileUrl});
}