linux build
cache previews in sqlite db actor page outsouce different players in seperate classes
This commit is contained in:
12
lib/types/video.dart
Normal file
12
lib/types/video.dart
Normal file
@ -0,0 +1,12 @@
|
||||
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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user