diff options
author | uvok | 2025-07-31 19:56:26 +0200 |
---|---|---|
committer | uvok | 2025-07-31 19:56:26 +0200 |
commit | 7b8c2fe71ca07b94ce11d4fdd9b7a3aea971be67 (patch) | |
tree | 234ed881be997dac0e719c80e37f1131aec68487 /lib/model | |
parent | 88bb7794945f8c8f4fa7f3f7712deaa844f3e526 (diff) |
Introduce sample templates
Diffstat (limited to 'lib/model')
-rw-r--r-- | lib/model/badge_template.dart | 10 |
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"; +} |