Meeting constructor

Meeting({
  1. int id = -1,
  2. required String title,
  3. List<Participant> participants = const [],
  4. List<Member> members = const [],
  5. int code = -1,
  6. DateTime? createdAt,
  7. DateTime? latestJoinedAt,
  8. ChatStatusEnum status = ChatStatusEnum.join,
  9. MessageModel? latestMessage,
})

Implementation

Meeting({
  this.id = -1,
  required this.title,
  this.participants = const [],
  this.members = const [],
  this.code = -1,
  this.createdAt,
  this.latestJoinedAt,
  this.status = ChatStatusEnum.join,
  this.latestMessage,
});