PeamanNotification constructor

PeamanNotification({
  1. String? id,
  2. String? senderId,
  3. String? receiverId,
  4. String title = '',
  5. String body = '',
  6. bool read = false,
  7. int? createdAt,
  8. int? updatedAt,
  9. bool visibility = true,
  10. Map<String, dynamic> extraData = const {},
})

Implementation

PeamanNotification({
  this.id,
  this.senderId,
  this.receiverId,
  this.title = '',
  this.body = '',
  this.read = false,
  this.createdAt,
  this.updatedAt,
  this.visibility = true,
  this.extraData = const {},
});