getConversationListSplit method

Future<List<ConversationInfo>> getConversationListSplit({
  1. int offset = 0,
  2. int count = 20,
  3. String? operationID,
})

分页获取会话 offset 开始下标 count 每页数量

Implementation

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