addReaction static method
Add reaction to an activity.
reaction
Reaction to add.
activityId
To add the reaction to.
Implementation
static Future addReaction(String reaction, String activityId) {
Map<String, dynamic> addReactionBody = {
'reaction': reaction,
'activityId': activityId
};
return NativeBridge.async(
'Communities.addReaction', jsonEncode(addReactionBody));
}