mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 18:46:53 +08:00
14 lines
384 B
Dart
14 lines
384 B
Dart
class PartSubtitle {
|
|
int? startTimestamp;
|
|
int? endTimestamp;
|
|
String? content;
|
|
|
|
PartSubtitle({this.startTimestamp, this.endTimestamp, this.content});
|
|
|
|
factory PartSubtitle.fromJson(Map<String, dynamic> json) => PartSubtitle(
|
|
startTimestamp: json['start_timestamp'] as int?,
|
|
endTimestamp: json['end_timestamp'] as int?,
|
|
content: json['content'] as String?,
|
|
);
|
|
}
|