VideoInfo class

Constructors

VideoInfo({required Duration duration, required String format, required int bitrate, required VideoStreamMetadata video, AudioStreamMetadata? audio})
const
VideoInfo.fromJson(Map<String, dynamic> json)
factory

Properties

audio AudioStreamMetadata?
Audio stream's metadata
final
bitrate int
Video file's bitrate
final
duration Duration
Video file's duration
final
format String
Video file's format
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
video VideoStreamMetadata
Video stream's metadata
final

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