This commit is contained in:
2026-04-13 10:46:58 +02:00
parent cd21408074
commit 8f2086e3a3

View File

@@ -31,7 +31,7 @@ class BrandModel extends Equatable {
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return { return {
if (id != null) 'id': id, if (id != null) 'id': id,
'name': name.toLowerCase(), 'name': name.toLowerCase().trim(),
'company_id': companyId, 'company_id': companyId,
'is_active': isActive, 'is_active': isActive,
}; };