youtube_explode/lib/src/videos/streams/video_resolution.dart

15 lines
302 B
Dart
Raw Normal View History

2020-06-03 13:18:37 +02:00
/// Width and height of a video.
2020-06-05 16:17:08 +02:00
class VideoResolution {
2020-06-03 13:18:37 +02:00
/// Viewport width.
final int width;
/// Viewport height.
final int height;
/// Initializes an instance of [VideoResolution]
const VideoResolution(this.width, this.height);
@override
String toString() => '${width}x$height';
}