getFriendsCount static method
Return number of friends of a user.
query
Query parameters.
Implementation
static Future<int> getFriendsCount(FriendsQuery query) {
return NativeBridge.async(
'Communities.getFriendsCount', jsonEncode(query.toJSON()))
.then((result) => jsonDecode(result)['result']);
}