getFirstBrand method
Returns the first of all brands.
Implementation
String? getFirstBrand() {
if (brands == null) {
return null;
}
final List<String> items = brands!.split(',');
if (items.isEmpty) {
return null;
}
return items.first;
}