toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['gmtModified'] = this.gmtModified;
  data['gmtCreateCn'] = this.gmtCreateCn;
  data['msgType'] = this.msgType;
  data['receiveUid'] = this.receiveUid;
  data['converseId'] = this.converseId;
  data['isRead'] = this.isRead;
  data['sendUid'] = this.sendUid;
  data['id'] = this.id;
  data['gmtCreate'] = this.gmtCreate;
  data['contentType'] = this.contentType;
  data['content'] = this.content;
  data['icon'] = this.icon;
  data['nobilityType'] = this.nobilityType;
  data['giftName'] = this.giftName;
  data['giftNum'] = this.giftNum;
  data['giftIcon'] = this.giftIcon;
  return data;
}