delete games

This commit is contained in:
2025-12-02 15:39:22 +01:00
parent 46ea9d10d3
commit 2dbc0f630f
7 changed files with 570 additions and 69 deletions
+3
View File
@@ -10,6 +10,7 @@ class Game {
final String? note;
final String? summary;
final String? coverUrl;
final int? releaseYear;
Game({
required this.id,
@@ -21,6 +22,7 @@ class Game {
this.note,
this.summary,
this.coverUrl,
this.releaseYear,
});
factory Game.fromJson(Map<String, dynamic> j) {
@@ -34,6 +36,7 @@ class Game {
note: j['note'] as String?,
summary: j['loc_summary'] as String?,
coverUrl: j['cover_url'] as String?,
releaseYear: (j['release_year'] as num?)?.toInt(),
);
}