summaryrefslogtreecommitdiff
path: root/lib/model/badge_template.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/model/badge_template.dart')
-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";
+}