removeReaction static method

Future removeReaction(
  1. String reaction,
  2. String activityId
)

Remove a reaction from an activity.

reaction Reaction to remove. activityId To remove the reaction from.

Implementation

static Future removeReaction(String reaction, String activityId) {
  Map<String, dynamic> removeReactionBody = {
    'reaction': reaction,
    'activityId': activityId
  };
  return NativeBridge.async(
      'Communities.removeReaction', jsonEncode(removeReactionBody));
}