getUsersCount static method
Return number of user matching the provided query.
query
Query parameter.
Implementation
static Future<int> getUsersCount(UsersQuery query) {
return NativeBridge.async(
'Communities.getUsersCount', jsonEncode(query.toJSON()))
.then((result) => jsonDecode(result)['result']);
}