added Information-Field to TV Shows
This commit is contained in:
@@ -15,6 +15,7 @@ class EpisodeItem {
|
||||
final String? posterPath;
|
||||
final int? showId;
|
||||
final String? downloadPath;
|
||||
final String? showInformation;
|
||||
|
||||
EpisodeItem({
|
||||
required this.id,
|
||||
@@ -31,6 +32,7 @@ class EpisodeItem {
|
||||
this.posterPath,
|
||||
this.showId,
|
||||
this.downloadPath,
|
||||
this.showInformation,
|
||||
});
|
||||
|
||||
factory EpisodeItem.fromJson(Map<String, dynamic> j) => EpisodeItem(
|
||||
@@ -48,6 +50,7 @@ class EpisodeItem {
|
||||
posterPath: j['poster_path'] as String?,
|
||||
showId: (j['show_id'] as num?)?.toInt(),
|
||||
downloadPath: j['download_path'] as String?,
|
||||
showInformation: j['show_information'] as String?,
|
||||
);
|
||||
|
||||
static bool? _parseBool(dynamic v) {
|
||||
|
||||
Reference in New Issue
Block a user