BetterPlayerTrack class
Constructors
- BetterPlayerTrack.new({required TrackType type, required int width, required int height, required int bitrate, double? frameRate, bool? isSupported, int? groupIndex, String? groupId, String? id, String? audioGroupId, String? mime, String? language, String? label})
- BetterPlayerTrack.defaultTrack()
-
factory
- BetterPlayerTrack.fromJson(Map json)
-
factory
Properties
- audioGroupId → String?
-
final
- bitrate → int
-
final
- frameRate → double?
-
final
- groupId → String?
-
final
- groupIndex → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- id → String?
-
final
- isSupported → bool?
-
final
- label → String?
-
final
- language → String?
-
final
- mime → String?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → TrackType
-
final
- width → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tracksFromJson(
List json) → List< BetterPlayerTrack> -
typeFromString(
String type) → TrackType