deleteAllConversations method

Future<void> deleteAllConversations(
  1. dynamic config
)

Implementation

Future<void> deleteAllConversations(dynamic config) async {
  Object _config = mapToJSObj(config);

  await promiseToFuture(ZIM.getInstance()!.deleteAllConversations(_config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return;
}