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