feat: 字幕展示
This commit is contained in:
20
lib/models/video/subTitile/content.dart
Normal file
20
lib/models/video/subTitile/content.dart
Normal file
@ -0,0 +1,20 @@
|
||||
class SubTitileContentModel {
|
||||
double? from;
|
||||
double? to;
|
||||
int? location;
|
||||
String? content;
|
||||
|
||||
SubTitileContentModel({
|
||||
this.from,
|
||||
this.to,
|
||||
this.location,
|
||||
this.content,
|
||||
});
|
||||
|
||||
SubTitileContentModel.fromJson(Map<String, dynamic> json) {
|
||||
from = json['from'];
|
||||
to = json['to'];
|
||||
location = json['location'];
|
||||
content = json['content'];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user