[Fix]
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
|
||||
|
||||
class ConversationInfo {
|
||||
String conversationID;
|
||||
|
||||
/// [ConversationType]
|
||||
int? conversationType;
|
||||
String? userID;
|
||||
|
||||
@@ -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'];
|
||||
|
||||
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user