YtSong class
- Inheritance
-
- Object
- YtBaseObject
- YtSong
Constructors
-
YtSong({required YtBaseObject? album, required bool inLibrary, required String? feedbackTokenAdd, required String? feedbackTokenRemove, required VideoType? videoType, required String? durationRaw, required Duration? duration, required List<
YtBaseObject> artists, required String? views, required bool isExplicit, required YtThumbnailData thumbnailData, required int? year, required bool isAvailable, required String? id, required String title}) - YtSong.fromJson(JsonMap jsonData)
-
factory
Properties
- album → YtBaseObject?
-
final
-
artists
→ List<
YtBaseObject> -
final
- duration → Duration?
-
final
- durationRaw → String?
-
final
- feedbackTokenAdd → String?
-
final
- feedbackTokenRemove → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
finalinherited
- inLibrary → bool
-
final
- isAvailable → bool
-
final
- isExplicit → bool
-
final
- 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