getAllConversationList method

Future<List<ConversationInfo>> getAllConversationList({
  1. String? operationID,
})

获取所有会话

Implementation

Future<List<ConversationInfo>> getAllConversationList(
        {String? operationID}) =>
    _channel
        .invokeMethod(
            'getAllConversationList',
            _buildParam({
              "operationID": Utils.checkOperationID(operationID),
            }))
        .then((value) =>
            Utils.toList(value, (map) => ConversationInfo.fromJson(map)));