YtVideo class
- Inheritance
-
- Object
- YtBaseObject
- YtVideo
Constructors
-
YtVideo({required VideoType? videoType, required String? durationRaw, required Duration? duration, required List<
YtBaseObject> artists, required String? views, required YtThumbnailData thumbnailData, required int? year, required String? id, required String title}) - YtVideo.fromJson(JsonMap jsonData)
-
factory
Properties
-
artists
→ List<
YtBaseObject> -
final
- duration → Duration?
-
final
- durationRaw → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnailData → YtThumbnailData
-
final
- title → String
-
finalinherited
- type → YtObjectType
-
finalinherited
- videoType → VideoType?
-
final
- views → String?
-
final
- year → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited