ConvModel constructor

ConvModel({
  1. required String convId,
  2. required int convType,
  3. String? clientMsgId,
  4. String? noticeId,
  5. int time = 0,
  6. int unreadCount = 0,
  7. DraftModel? draftModel,
  8. bool hidden = false,
  9. bool deleted = false,
})

Implementation

ConvModel({
  required this.convId,
  required this.convType,
  this.clientMsgId,
  this.noticeId,
  this.time = 0,
  this.unreadCount = 0,
  this.draftModel,
  this.hidden = false,
  this.deleted = false,
});