AttachmentsModel constructor

AttachmentsModel({
  1. String name = '',
  2. String desciption = '',
  3. String id = '',
  4. String urlPreView = '',
  5. String messageId = '',
  6. String url = '',
  7. int typeAttachment = 0,
  8. int sizeByte = 0,
  9. int durationSeconds = 0,
  10. int revoke = 0,
  11. String attachId = '',
})

Implementation

AttachmentsModel({
  this.name = '',
  this.desciption = '',
  this.id = '',
  this.urlPreView = '',
  this.messageId = '',
  this.url = '',
  this.typeAttachment = 0,
  this.sizeByte = 0,
  this.durationSeconds = 0,
  this.revoke = 0,
  this.attachId = '',
});