Metadata class

A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos.

Annotations
  • @JsonSerializable()

Constructors

Metadata.new({String? key, String? value})
Creates a Metadata.
Metadata.fromJson(Map<String, dynamic> json)
Creates a Metadata from a json map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String?
The constant that defines the data set.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
The variable which belongs to the data set.
final

Methods

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

Operators

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