searchConversations method

Future<List<ConversationInfo>> searchConversations(
  1. String name, {
  2. String? operationID,
})

search Conversations

Implementation

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