removeFriends static method
Remove users from friends list. If trying to remove a user who is not a friend, success callback will be called, and user's friends count won't be decreased.
ids
List of user identifiers to remove from friends list.
Implementation
static Future<int> removeFriends(UserIdList ids) {
return NativeBridge.async(
'Communities.removeFriends', jsonEncode(ids.toJSON()))
.then((result) => jsonDecode(result)['result']);
}