insert pages
This commit is contained in:
@@ -8,6 +8,8 @@ class Notification {
|
||||
String desc;
|
||||
DateTime time;
|
||||
bool seen;
|
||||
String marketPlace;
|
||||
String status;
|
||||
|
||||
Notification(
|
||||
{this.id,
|
||||
@@ -16,11 +18,13 @@ class Notification {
|
||||
this.itemType,
|
||||
this.desc,
|
||||
this.time,
|
||||
this.seen});
|
||||
this.seen,
|
||||
this.marketPlace,
|
||||
this.status});
|
||||
|
||||
String get getDesc =>
|
||||
desc != null && desc.length > 30 ? desc.substring(0, 30) : desc;
|
||||
|
||||
|
||||
bool fromToday() {
|
||||
var now = DateTime.now();
|
||||
return time.day == now.day &&
|
||||
|
||||
Reference in New Issue
Block a user