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