This commit is contained in:
hrxiang
2021-10-11 09:22:56 +08:00
parent 239b0893d5
commit 91f40333dc
13 changed files with 27 additions and 25 deletions

View File

@@ -4,6 +4,7 @@ import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
class ConversationInfo {
String conversationID;
/// [ConversationType]
int? conversationType;
String? userID;

View File

@@ -18,7 +18,7 @@ class GroupInfo {
this.createTime,
this.memberCount});
GroupInfo.fromJson(Map<String, dynamic> json): groupID = json['groupID'] {
GroupInfo.fromJson(Map<String, dynamic> json) : groupID = json['groupID'] {
/*groupID = json['groupID'];*/
groupName = json['groupName'];
notification = json['notification'];

View File

@@ -1,5 +1,3 @@
class Message {
String? clientMsgID;
String? serverMsgID;
@@ -69,8 +67,8 @@ class Message {
this.mergeElem,
});
Message.fromJson(Map<String, dynamic> json)
/* : clientMsgID = json['clientMsgID']*/ {
Message.fromJson(
Map<String, dynamic> json) /* : clientMsgID = json['clientMsgID']*/ {
clientMsgID = json['clientMsgID'];
serverMsgID = json['serverMsgID'];
createTime = json['createTime'];