TF-4370 Add description field to Label object

This commit is contained in:
dab246
2026-03-11 14:53:07 +07:00
committed by Dat H. Pham
parent 4c837ed9cf
commit 90ddbf5824
3 changed files with 156 additions and 0 deletions
+3
View File
@@ -23,12 +23,14 @@ class Label with EquatableMixin {
final KeyWordIdentifier? keyword;
final String? displayName;
final HexColor? color;
final String? description;
Label({
this.id,
this.keyword,
this.displayName,
this.color,
this.description,
});
factory Label.fromJson(Map<String, dynamic> json) => _$LabelFromJson(json);
@@ -41,5 +43,6 @@ class Label with EquatableMixin {
keyword,
displayName,
color,
description,
];
}