summaryrefslogtreecommitdiff
path: root/lib/model
diff options
context:
space:
mode:
authoruvok2025-07-31 19:56:26 +0200
committeruvok2025-07-31 19:56:26 +0200
commit7b8c2fe71ca07b94ce11d4fdd9b7a3aea971be67 (patch)
tree234ed881be997dac0e719c80e37f1131aec68487 /lib/model
parent88bb7794945f8c8f4fa7f3f7712deaa844f3e526 (diff)
Introduce sample templates
Diffstat (limited to 'lib/model')
-rw-r--r--lib/model/badge_template.dart10
1 files changed, 9 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>.
-class BadgeTemplate {}
+class BadgeTemplate {
+ final int id;
+ final String description;
+
+ const BadgeTemplate(this.id, this.description);
+
+ @override
+ String toString() => "$id - $description";
+}