LastMessageModel constructor

LastMessageModel({
  1. String? id,
  2. String? message,
  3. String? userId,
  4. String? fullName,
  5. String? time,
  6. String? userName,
  7. String? nickName,
  8. String? avatar,
  9. bool? isEdited,
  10. String? lastEditTime,
  11. int? type,
  12. List<AttachmentsModel>? attachments,
  13. bool? isDeleted,
})

Implementation

LastMessageModel({
  this.id,
  this.message,
  this.userId,
  this.fullName,
  this.time,
  this.userName,
  this.nickName,
  this.avatar,
  this.isEdited,
  this.lastEditTime,
  this.type,
  this.attachments,
  this.isDeleted,
});