VideoInfo class

Contains information about video.

Constructors

VideoInfo({required List<int> aspectRatio, int? durationMillis, required List<Variant> variants})
VideoInfo.fromJson(Map<String, dynamic> json)
factory
VideoInfo.fromRawJson(String str)
factory

Properties

aspectRatio List<int>
The aspect ratio of the video, as a simplified fraction of width and height in a 2-element list. Typical values are 4, 3 or 16, 9.
getter/setter pair
durationMillis int?
The length of the video, in milliseconds.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variants List<Variant>
Different encodings/streams of the video.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited