deleteConversation method
Future<Map>
deleteConversation(
- String conversationID,
- dynamic conversationType,
- dynamic config
)
Implementation
Future<Map<dynamic, dynamic>> deleteConversation(
String conversationID, dynamic conversationType, dynamic config) async {
Object _config = mapToJSObj(config);
final result = await promiseToFuture(ZIM
.getInstance()!
.deleteConversation(conversationID, conversationType, _config))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}