mirror of
https://github.com/TeamPiped/piped_dart.git
synced 2024-08-14 22:27:49 +00:00
1.8 KiB
1.8 KiB
piped_api.model.ContentItem
Load the model package
import 'package:piped_api/api.dart';
Properties
Name | Type | Description | Notes |
---|---|---|---|
type | String | The type of the content item. | |
duration | int | The duration of the video in seconds. | |
thumbnail | String | The thumbnail of the playlist. | |
title | String | The title of the video. | |
uploaded | int | The date in unix epoch the video was uploaded. | [optional] |
uploadedDate | String | The relative date the video was uploaded on. | [optional] |
uploaderAvatar | String | The avatar of the channel of the video. | [optional] |
uploaderName | String | The name of the channel of the video. | [optional] |
uploaderUrl | String | The relative URL of the channel of the video. | [optional] |
uploaderVerified | bool | Whether or not the channel has a verified badge. | [optional] |
url | String | The relative URL of the playlist. | |
views | int | The number of views the video has. | [optional] |
isShort | bool | Whether or not the video is a short video. | [optional] |
shortDescription | String | The short description of the video. | [optional] |
description | String | The description of the channel. | [optional] |
name | String | The name of the playlist. | [optional] |
subscribers | int | The number of subscribers the channel has. | [optional] |
verified | bool | Whether the channel is verified. | [optional] |
videos | int | The number of videos in the playlist. | [optional] |