getProductBrands function
- Product product,
- AppLocalizations appLocalizations
Implementation
String getProductBrands(
Product product,
AppLocalizations appLocalizations,
) {
final String? brands = _clearString(product.brands);
if (brands == null) {
return appLocalizations.unknownBrand;
}
return formatProductBrands(brands);
}