VideoContentDetails class
Details about the content of a YouTube Video.
Constructors
- VideoContentDetails({ContentRating? contentRating, AccessPolicy? countryRestriction, String? definition, String? dimension, String? duration, bool? hasCustomThumbnail, bool? licensedContent, String? projection, VideoContentDetailsRegionRestriction? regionRestriction})
- VideoContentDetails.fromJson(Map json_)
Properties
-
The value of captions indicates whether the video has captions or not.
Possible string values are:
getter/setter pair
- contentRating ↔ ContentRating?
-
Specifies the ratings that the video received under various rating
schemes.
getter/setter pair
- countryRestriction ↔ AccessPolicy?
-
The countryRestriction object contains information about the countries
where a video is (or is not) viewable.
getter/setter pair
- definition ↔ String?
-
The value of definition indicates whether the video is available in high
definition or only in standard definition.
Possible string values are:
getter/setter pair
- dimension ↔ String?
-
The value of dimension indicates whether the video is available in 3D or
in 2D.
getter/setter pair
- duration ↔ String?
-
The length of the video.
getter/setter pair
- hasCustomThumbnail ↔ bool?
-
Indicates whether the video uploader has provided a custom thumbnail image
for the video.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- licensedContent ↔ bool?
-
The value of is_license_content indicates whether the video is licensed
content.
getter/setter pair
- projection ↔ String?
-
Specifies the projection format of the video.
Possible string values are:
getter/setter pair
- regionRestriction ↔ VideoContentDetailsRegionRestriction?
-
The regionRestriction object contains information about the countries
where a video is (or is not) viewable.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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