NiceInboxMessage constructor

const NiceInboxMessage({
  1. required String id,
  2. required String subject,
  3. required String sender,
  4. required DateTime date,
  5. String? preview,
  6. bool read = false,
  7. bool starred = false,
  8. NiceMessagePriority priority = NiceMessagePriority.normal,
  9. ImageProvider<Object>? avatar,
  10. int attachments = 0,
})

Implementation

const NiceInboxMessage({
  required this.id,
  required this.subject,
  required this.sender,
  required this.date,
  this.preview,
  this.read = false,
  this.starred = false,
  this.priority = NiceMessagePriority.normal,
  this.avatar,
  this.attachments = 0,
});