markConversation method

  1. @override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> markConversation({
  1. required int markType,
  2. required bool enableMark,
  3. required List<String> conversationIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> markConversation({
  required int markType,
  required bool enableMark,
  required List<String> conversationIDList,
}) async {
  Map<String, dynamic> param = {
    "markType": markType,
    "enableMark": enableMark,
    "conversationIDList": conversationIDList,
  };
  var resp = V2TimValueCallback<List<V2TimConversationOperationResult>>.fromJson(formatJson(await _channel.invokeMethod(
    'markConversation',
    buildConversationManagerParam(
      param,
    ),
  )));
  log("markConversation", param, resp.toLogString());
  return resp;
}