bookmark static method

Future bookmark(
  1. String activityId
)

Bookmark an activity.

activityId To add the bookmark to.

Implementation

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