removeReaction static method
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));
}