From 7b8c2fe71ca07b94ce11d4fdd9b7a3aea971be67 Mon Sep 17 00:00:00 2001 From: uvok Date: Thu, 31 Jul 2025 19:56:26 +0200 Subject: Introduce sample templates --- lib/model/badge_template.dart | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/model/badge_template.dart') diff --git a/lib/model/badge_template.dart b/lib/model/badge_template.dart index 98503ca..2ca8aa6 100644 --- a/lib/model/badge_template.dart +++ b/lib/model/badge_template.dart @@ -13,4 +13,12 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -class BadgeTemplate {} +class BadgeTemplate { + final int id; + final String description; + + const BadgeTemplate(this.id, this.description); + + @override + String toString() => "$id - $description"; +} -- cgit v1.2.3