NotificationModel.fromMap constructor
Makes NotificationModel from database data
Implementation
NotificationModel.fromMap(Map<String, dynamic> map) {
this.id = map['_id'];
print(map['note']);
this.note = map['note'];
this.date1 = map['date1'];
}