PixabayVideo class
Model of Pixabay Video
- Inheritance
-
- Object
- PixabayMedia
- PixabayVideo
Constructors
-
PixabayVideo({String? tags, String? type, String? user, int? downloads, int? likes, int? id, int? userId, int? views, int? comments, int? favorites, String? pageURL, int? duration, String? pictureId, List<
PixabayVideoDescriptor> ? videos, String? userImageURL}) -
PixabayVideo.fromJson(Map<
String, dynamic> data) -
factory
Properties
- comments ↔ int?
-
getter/setter pairinherited
- downloads ↔ int?
-
getter/setter pairinherited
- duration ↔ int?
-
getter/setter pair
- favorites ↔ int?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pairinherited
- likes ↔ int?
-
getter/setter pairinherited
- pageURL ↔ String?
-
getter/setter pair
- pictureId ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pairinherited
- type ↔ String?
-
getter/setter pairinherited
- user ↔ String?
-
getter/setter pairinherited
- userId ↔ int?
-
getter/setter pairinherited
- userImageURL ↔ String?
-
getter/setter pair
-
videos
↔ List<
PixabayVideoDescriptor> ? -
getter/setter pair
- views ↔ int?
-
getter/setter pairinherited
Methods
-
getDownloadLink(
{String? res}) → String? -
override
-
getThumbnailLink(
) → String -
override
-
getType(
) → MediaType -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited