MediaData class
Constructors
-
MediaData.new({required VideoStream? primaryVideoStream, required List<
VideoStream> ? videoStreams, required AudioStream? primaryAudioStream, required List<AudioStream> ? audioStreams, required List<MediaStream> ? subtitleStreams, required Duration? duration, required MediaFormat? format}) -
MediaData.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
audioStreams
→ List<
AudioStream> ? -
final
- duration → Duration?
-
final
- format → MediaFormat?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- primaryAudioStream → AudioStream?
-
final
- primaryVideoStream → VideoStream?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subtitleStreams
→ List<
MediaStream> ? -
final
-
videoStreams
→ List<
VideoStream> ? -
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