getFollowers static method
Get followers of a community entity, like topic or user.
pagingQuery
Query parameter.
Implementation
static Future<PagingResult<User>> getFollowers(
PagingQuery<FollowersQuery> pagingQuery) {
return NativeBridge.async(
'Communities.getFollowers', jsonEncode(pagingQuery.toJSON()))
.then((result) => new PagingResult.fromJSON(jsonDecode(result),
(Map<String, dynamic> raw) => User.fromJSON(raw)));
}