getFriends static method
Get a list of friends of a user.
pagingQuery
Query parameters.
Implementation
static Future<PagingResult<User>> getFriends(
PagingQuery<FriendsQuery> pagingQuery) {
return NativeBridge.async(
'Communities.getFriends', jsonEncode(pagingQuery.toJSON()))
.then((result) => new PagingResult.fromJSON(jsonDecode(result),
(Map<String, dynamic> raw) => User.fromJSON(raw)));
}