lukas-heiligenbrunner
5fc77b4abb
cache previews in sqlite db actor page outsouce different players in seperate classes
13 lines
265 B
Dart
13 lines
265 B
Dart
class VideoT {
|
|
int id;
|
|
String title;
|
|
double ratio;
|
|
|
|
VideoT(this.title, this.id, this.ratio);
|
|
|
|
factory VideoT.fromJson(dynamic json) {
|
|
return VideoT(json['MovieName'] as String, json['MovieId'] as int,
|
|
(json['Ratio'] as num).toDouble());
|
|
}
|
|
}
|