Message constructor
Message({
- String msgId = '',
- String sequence = '0',
- int msgType = MsgType.text,
- int fromId = 0,
- String nickname = '',
- String avatar = '',
- int isRevoked = YesNo.no,
- String sendTime = '',
- Map<
String, dynamic> ? extra, - Map<
String, dynamic> ? quote, - int talkMode = TalkMode.private,
- int toFromId = 0,
- int status = 0,
Implementation
Message({
this.msgId = '',
this.sequence = '0',
this.msgType = MsgType.text,
this.fromId = 0,
this.nickname = '',
this.avatar = '',
this.isRevoked = YesNo.no,
this.sendTime = '',
this.extra,
this.quote,
this.talkMode = TalkMode.private,
this.toFromId = 0,
this.status = 0,
});