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