PexelsClient class
Properties
-
apiKey
→ String
-
final
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getPhoto({int id: null })
→ 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: null })
→ Future<Video>
-
-
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: null, int maxWidth: null, int minDuration: null, int maxDuration: null })
→ Future<SearchResult<Video>>
-
-
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