Variant class

Constructors

Variant({required Uri url, required Format format, required String? videoGroupId, required String? audioGroupId, required String? subtitleGroupId, required String? captionGroupId})

Properties

audioGroupId → String?
The audio rendition group referenced by this variant, or {@code null}.
final
captionGroupId → String?
The caption rendition group referenced by this variant, or {@code null}.
final
format → Format
Format information associated with this variant.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitleGroupId → String?
The subtitle rendition group referenced by this variant, or {@code null}.
final
url → Uri
The variant's url.
final
videoGroupId → String?
The video rendition group referenced by this variant, or {@code null}.
final

Methods

copyWithFormat(Format format) → Variant
Returns a copy of this instance with the given {@link Format}.
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