LiveStreamItem class

A liveStream resource contains information about the video stream that you are transmitting to YouTube. The stream provides the content that will be broadcast to YouTube users. Once created, a liveStream resource can be bound to one or more liveBroadcast resources.

Annotations
  • @JsonSerializable()

Constructors

LiveStreamItem({required String kind, required String etag, required String id, Snippet? snippet, Status? status, Cdn? cdn})
LiveStreamItem.fromJson(Map<String, dynamic> json)
factory

Properties

cdn → Cdn?
The cdn object defines the live stream's content delivery network (CDN) settings. These settings provide details about the manner in which you stream your content to YouTube.
final
etag String
The Etag of this resource.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The ID that YouTube assigns to uniquely identify the stream.
final
kind String
Identifies the API resource's type. The value will be youtube#searchListResponse.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snippet → Snippet?
The snippet object contains basic details about the stream, including its channel, title, and description.
final
status → Status?
The status object contains information about live stream's status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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