deleteMessageReaction method

Future<Map> deleteMessageReaction(
  1. String reactionType,
  2. dynamic message
)

Implementation

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

  final resultMap = jsObjectToMap(result);

  return resultMap;
}