follow static method
Follow a community entity, like topic or user.
query
Query parameter.
Implementation
static Future<int> follow(FollowQuery query) {
return NativeBridge.async('Communities.follow', jsonEncode(query.toJSON()))
.then((result) {
return jsonDecode(result)['result'];
});
}