18 lines
338 B
Dart
18 lines
338 B
Dart
class YoutubePlaybackOption {
|
|
const YoutubePlaybackOption({
|
|
required this.height,
|
|
required this.label,
|
|
required this.videoUrl,
|
|
this.audioUrl,
|
|
this.fps,
|
|
});
|
|
|
|
final int height;
|
|
final String label;
|
|
final String videoUrl;
|
|
final String? audioUrl;
|
|
final num? fps;
|
|
|
|
bool get isAdaptive => audioUrl != null;
|
|
}
|