ByteArkPlayerItem class

Represents an item for the ByteArk Player with various media details.

Constructors

ByteArkPlayerItem({String? mediaId, String? posterImage, String? title, String? subtitle, required String? url, String? shareUrl, ByteArkDrm? drm})
Constructor for creating a ByteArkPlayerItem.

Properties

drm ByteArkDrm?
Digital Rights Management (DRM) information for the media item.
final
hashCode int
The hash code for this object.
no setterinherited
mediaId String?
Unique identifier for the media item.
final
posterImage String?
URL for the poster image of the media item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareUrl String?
URL for sharing the media item.
final
subtitle String?
Subtitle of the media item, providing additional information.
final
title String?
Title of the media item.
final
url String?
URL of the media content. This is required for playback.
final

Methods

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

Operators

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