fix: Calling setConversationEx will report that type 'String' is not a subtype of type 'List<dynamic>' in type cast. (#138)

main
Brett 8 months ago committed by Brett
parent d90bb33764
commit cade0091a7
  1. 5
      lib/src/manager/im_conversation_manager.dart

@ -356,7 +356,7 @@ class ConversationManager {
.then((value) => Utils.toList(value, (map) => ConversationInfo.fromJson(map)));
}
Future<List<ConversationInfo>> setConversationEx(
Future setConversationEx(
String conversationID, {
String? ex,
String? operationID,
@ -368,8 +368,7 @@ class ConversationManager {
'conversationID': conversationID,
'ex': ex,
"operationID": Utils.checkOperationID(operationID),
}))
.then((value) => Utils.toList(value, (map) => ConversationInfo.fromJson(map)));
}));
}
/// Custom Sort for Conversation List

Loading…
Cancel
Save