SearchVideo class
This endpoint enables you to search Pexels for any topic that you would like. For example your query could be something broad like Nature, Tigers, People. Or it could be something specific like Group of people working.
Constructors
-
SearchVideo({required int? page, required int? perPage, required List<
Video> ? videos, required int? totalResults, required String? nextPage, required String? url, required String? prevPage}) - Named ConstructorsSearchVideo with require params
-
SearchVideo.fromJson(Map<
String, dynamic> json) -
SearchVideo.fromJson Mapping data to SearchVideo
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextPage ↔ String?
-
URL for the next page of results, if applicable.
getter/setter pair
- page ↔ int?
-
An array of Video objects.
getter/setter pair
- perPage ↔ int?
-
The Pexels URL for the current search query.
getter/setter pair
- prevPage ↔ String?
-
URL for the previous page of results, if applicable.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalResults ↔ int?
-
The total number of results for the request.
getter/setter pair
- url ↔ String?
-
The Pexels URL for the current search query.
getter/setter pair
-
videos
↔ List<
Video> ? -
The current page number.
getter/setter pair
Methods
-
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