From 8f2086e3a3b4c52de06e67595dc2d1c568bc336e Mon Sep 17 00:00:00 2001 From: Mark M2 Macbook Date: Mon, 13 Apr 2026 10:46:58 +0200 Subject: [PATCH] a --- lib/features/products/models/brand_model.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/products/models/brand_model.dart b/lib/features/products/models/brand_model.dart index 59426a1..72e02b1 100644 --- a/lib/features/products/models/brand_model.dart +++ b/lib/features/products/models/brand_model.dart @@ -31,7 +31,7 @@ class BrandModel extends Equatable { Map toJson() { return { if (id != null) 'id': id, - 'name': name.toLowerCase(), + 'name': name.toLowerCase().trim(), 'company_id': companyId, 'is_active': isActive, };