getUsersCount static method

Future<int> getUsersCount(
  1. UsersQuery query
)

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']);
}