check null safety
This commit is contained in:
@@ -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});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user