IosMediaTrack class

Represents a media track for iOS platforms, extending GoogleCastMediaTrack.

This class is used to model media track information specific to iOS when working with Google Cast. It provides a convenient way to construct a media track from a map.

Inheritance

Constructors

IosMediaTrack({required String? trackContentType, required int trackId, required TrackType type, Map<String, dynamic>? customData, Rfc5646Language? language, String? name, TextTrackType? subtype, String? trackContentId})
Creates an IosMediaTrack instance.
IosMediaTrack.fromMap(Map json)
Creates an IosMediaTrack from a Map representation, typically from platform channels.
factory

Properties

customData → Map<String, dynamic>?
Custom data for the track.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
language → Rfc5646Language?
Language of the track.
finalinherited
name → String?
Name of the track.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtype → TextTrackType?
Subtype of the track.
finalinherited
trackContentId → String?
Content ID of the track.
finalinherited
trackContentType → String?
Content type of the track.
finalinherited
trackId → int
Unique identifier of the track within the context of a MediaInfo object.
finalinherited
type → TrackType
The type of track.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
Converts the object to a JSON string.
inherited
toMap() → Map<String, dynamic>
Converts the object to a map for serialization.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited