getProductBrandsList function
- Product product,
- AppLocalizations appLocalizations
Implementation
List<String> getProductBrandsList(
Product product,
AppLocalizations appLocalizations,
) {
final String? brands = _clearString(product.brands);
if (brands == null) {
return <String>[];
}
const String sep = ',';
return formatProductBrands(brands, separator: sep).split(sep);
}