LiveStreamItem class Null safety

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

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.
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
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.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent 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