SourceMetadata class

SourceMetadata that can be used to enrich the analytics data.

Inheritance
Annotations

Constructors

SourceMetadata({String? title, String? videoId, String? cdnProvider, String? path, bool? isLive, CustomData customData = const CustomData()})
const
SourceMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

cdnProvider String?
CDN Provider used to serve content. If field is specified in SourceMetadata and DefaultMetadata, SourceMetadata takes precedence.
final
customData CustomData
Free-form data that can be used to enrich the analytics data If customData is specified in SourceMetadata and DefaultMetadata data is merged on a field basis with SourceMetadata taking precedence.
final
hashCode int
The hash code for this object.
no setterinherited
isLive bool?
Mark the stream as live before stream metadata is available. As soon as metadata is available, information from the player is used.
final
path String?
Breadcrumb within the app. For example, the name of the current activity.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
title String?
Human readable title of the source.
final
videoId String?
ID of the Video
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.
inherited

Operators

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