overview model support for studio
This commit is contained in:
parent
4ccd50b683
commit
8095795221
|
|
@ -8,6 +8,7 @@ class OverviewData {
|
||||||
final int? timeToRead;
|
final int? timeToRead;
|
||||||
final int? duration;
|
final int? duration;
|
||||||
final String? reference;
|
final String? reference;
|
||||||
|
final String? media;
|
||||||
final bool forManagers;
|
final bool forManagers;
|
||||||
final String createdAt;
|
final String createdAt;
|
||||||
final String type;
|
final String type;
|
||||||
|
|
@ -25,6 +26,7 @@ class OverviewData {
|
||||||
required this.marked,
|
required this.marked,
|
||||||
required this.comments,
|
required this.comments,
|
||||||
required this.forManagers,
|
required this.forManagers,
|
||||||
|
this.media,
|
||||||
this.duration,
|
this.duration,
|
||||||
this.timeToRead,
|
this.timeToRead,
|
||||||
this.reference,
|
this.reference,
|
||||||
|
|
@ -44,6 +46,7 @@ class OverviewData {
|
||||||
duration: json['duration'],
|
duration: json['duration'],
|
||||||
type: json['type'] ?? '',
|
type: json['type'] ?? '',
|
||||||
marked: json['marked'] ?? false,
|
marked: json['marked'] ?? false,
|
||||||
|
media: json['media'],
|
||||||
categories: json['categories'] != null
|
categories: json['categories'] != null
|
||||||
? List<CategoryData>.from(
|
? List<CategoryData>.from(
|
||||||
json['categories'].map(
|
json['categories'].map(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue