Message constructor

Message({
  1. String? mid,
  2. String? content,
  3. String? imageUrl,
  4. String? voiceUrl,
  5. String? videoUrl,
  6. String? fileUrl,
  7. String? nickname,
  8. String? avatar,
  9. String? type,
  10. String? topic,
  11. String? timestamp,
  12. int? isSend,
  13. Thread? thread,
  14. User? user,
  15. String? status,
  16. String? currentUid,
  17. String? client,
  18. List<Answer>? answers,
  19. String? answersJson,
  20. List<Category>? categories,
  21. String? categoriesJson,
})

Implementation

Message(
    {this.mid,
    this.content,
    this.imageUrl,
    this.voiceUrl,
    this.videoUrl,
    this.fileUrl,
    this.nickname,
    this.avatar,
    this.type,
    this.topic,
    this.timestamp,
    this.isSend,
    this.thread,
    this.user,
    this.status,
    this.currentUid,
    this.client,
    this.answers,
    this.answersJson,
    this.categories,
    this.categoriesJson})
    : super();