File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -403,13 +403,6 @@ class _ChatPageState extends State<ChatPage>
403403
404404 /// 发消息方法
405405 _sendMessage (EMMessage msg) async {
406- msg.attributes = {
407- "int" : 1 ,
408- "bool" : false ,
409- "str" : "hello" ,
410- "list" : ["a" , "b" , "c" ],
411- "json" : {"key" : "value" }
412- };
413406 _chatType () {
414407 ChatType type = ChatType .Chat ;
415408 switch (widget.conversation.type) {
Original file line number Diff line number Diff line change @@ -132,12 +132,6 @@ extension MapExtension on Map {
132132 value = data;
133133 break ;
134134 } on FormatException {}
135-
136- // try {
137- // List<dynamic> data = convert.jsonDecode(value);
138- // value = data;
139- // break;
140- // } on FormatException {}
141135 } while (false );
142136 ret[tmpKey] = value;
143137 } else {
You can’t perform that action at this time.
0 commit comments