assign tag dialog

This commit is contained in:
hannathkadher
2025-01-07 16:30:36 +04:00
parent 6ee650e9f8
commit e7e0149b3a
7 changed files with 531 additions and 298 deletions

View File

@ -30,6 +30,18 @@ class TagModel {
);
}
TagModel copyWith({
String? tag,
ProductModel? product,
String? location,
}) {
return TagModel(
tag: tag ?? this.tag,
product: product ?? this.product,
location: location ?? this.location,
);
}
Map<String, dynamic> toJson() {
return {
'uuid': uuid,