PexelsClient class
Methods
-
getPhoto({int? id})
→ Future<Photo?>
-
id
the id of the photo to return.
if id
is not specified, a random photo will be returned.
-
getQuota()
→ Future<Quota>
-
-
getVideo({int? id})
→ Future<Video?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
searchPhotos(String query, {Collection collection = Collection.Regular, int resultsPerPage = 15, int page = 1})
→ Future<SearchResult<Photo?>?>
-
-
searchVideos(String query, {Collection collection = Collection.Regular, int resultsPerPage = 15, int page = 1, int? minWidth, int? maxWidth, int? minDuration, int? maxDuration})
→ Future<SearchResult<Video?>?>
-
-
toString()
→ String
-
A string representation of this object.
inherited