From 744268371fbe5526efdc1e203ea03d7e4a82e16d Mon Sep 17 00:00:00 2001 From: hrxiang <xianghairui@126.com> Date: Fri, 10 Dec 2021 16:51:28 +0800 Subject: [PATCH] Fix bug --- lib/src/models/message.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/models/message.dart b/lib/src/models/message.dart index 9b63e61..0328aad 100644 --- a/lib/src/models/message.dart +++ b/lib/src/models/message.dart @@ -74,7 +74,7 @@ class Message { createTime = json['createTime']; sendTime = json['sendTime']; sendID = json['sendID']; - recvID = json['RecvID']; + recvID = json['recvID']; msgFrom = json['msgFrom']; contentType = json['contentType']; platformID = json['platformID']; @@ -125,7 +125,7 @@ class Message { data['createTime'] = this.createTime; data['sendTime'] = this.sendTime; data['sendID'] = this.sendID; - data['RecvID'] = this.recvID; + data['recvID'] = this.recvID; data['msgFrom'] = this.msgFrom; data['contentType'] = this.contentType; data['platformID'] = this.platformID;