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
- duration ↔ int
-
read / write
- pageURL ↔ String
-
read / write
- pictureId ↔ String
-
read / write
- userImageURL ↔ String
-
read / write
-
videos
↔ List<
PixabayVideoDescriptor> -
read / write
- comments ↔ int
-
read / write, inherited
- downloads ↔ int
-
read / write, inherited
- favorites ↔ int
-
read / write, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ int
-
read / write, inherited
- likes ↔ int
-
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
read / write, inherited
- type ↔ String
-
read / write, inherited
- user ↔ String
-
read / write, inherited
- userId ↔ int
-
read / write, inherited
- views ↔ int
-
read / write, inherited
Methods
-
getDownloadLink(
{String res }) → String -
override
-
getType(
) → MediaType -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited