getAll static method
Will get a PcoCollection
containing ALL PcoGroupsTagGroup objects (expecting many)
using a path like this: /groups/v2/tag_groups
Available Query Filters:
public
Filter tag groups that are visible on public pages
Additional options may be specified by using the query
argument, but some
query options are also available as boolean flags in this function call too.
This function forces the query.getAll
to be true.
Implementation
static Future<PcoCollection<PcoGroupsTagGroup>> getAll({
String? id,
PcoGroupsTagGroupQuery? query,
}) async {
query ??= PcoGroupsTagGroupQuery();
query.getAll = true;
var url = '/groups/v2/tag_groups';
if (id != null) url += '/$id';
return PcoCollection.fromApiCall<PcoGroupsTagGroup>(url,
query: query, apiVersion: kApiVersion);
}