VideoInfo class

Class that contains info attributes of a video file. Contains height, the width and the duration of the file. This class is loaded once the video is loaded in the player.

Properties

aspectRatio double
Computes the aspect ratio if the height and width are not null.
no setter
duration int?
Duration in milliseconds of the file.
final
hashCode int
Computes the hashCode given the value of the attributes of this instance.
no setteroverride
height num?
Height of the video file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width num?
Width of the video file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
String representation of the instance.
override

Operators

operator ==(Object other) bool
Equation operator. Compare this instance to the other instance.
override