WooAttributeApi extension
Methods
-
getAttribute(
int id, {bool? useFaker}) → Future< WooProductAttribute> -
Available on FlutterWooCommerce, provided by the WooAttributeApi extension
Retrieve a single product attribute by id -
getAttributes(
{WooContext context = WooContext.view, int page = 1, int perPage = 10, String? search, List< int> ? exclude, List<int> ? include, WooSortOrder order = WooSortOrder.desc, WooSortOrderBy orderBy = WooSortOrderBy.id, bool? useFaker}) → Future<List< WooProductAttribute> > -
Available on FlutterWooCommerce, provided by the WooAttributeApi extension
List all product attributes Mirrors WooCommerce GET /products/attributes -
getAttributeTerm(
int attributeId, int termId, {bool? useFaker}) → Future< WooProductAttributeTerm> -
Available on FlutterWooCommerce, provided by the WooAttributeApi extension
Retrieve a single term for an attribute -
getAttributeTerms(
int attributeId, {WooContext context = WooContext.view, int page = 1, int perPage = 100, String? search, List< int> ? exclude, List<int> ? include, WooSortOrder order = WooSortOrder.desc, WooSortOrderBy orderBy = WooSortOrderBy.id, bool? useFaker}) → Future<List< WooProductAttributeTerm> > -
Available on FlutterWooCommerce, provided by the WooAttributeApi extension
List all terms of a specific attribute