Message constructor
Message({
- String? mid,
- String? content,
- String? imageUrl,
- String? voiceUrl,
- String? videoUrl,
- String? fileUrl,
- String? nickname,
- String? avatar,
- String? type,
- String? topic,
- String? timestamp,
- int? isSend,
- Thread? thread,
- User? user,
- String? status,
- String? currentUid,
- String? client,
- List<
Answer> ? answers, - String? answersJson,
- List<
Category> ? categories, - 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();