unfollow static method

Future<int> unfollow(
  1. FollowQuery query
)

Unfollow a community entity, like topic or user.

query Query parameter.

Implementation

static Future<int> unfollow(FollowQuery query) {
  return NativeBridge.async(
          'Communities.unfollow', jsonEncode(query.toJSON()))
      .then((result) {
    return jsonDecode(result)['result'];
  });
}