Search class
Search for resources.
See: Unsplash docs
Constructors
- Search(UnsplashClient client)
- Creates a new instance which belongs to client.
Properties
- baseUrl → Uri
-
The base url for all endpoints in Search.
final
- client → UnsplashClient
-
The parent UnsplashClient.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collections(
String query, {int? page, int? perPage}) → Request< SearchResults< Collection> > - Search collections
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
photos(
String query, {int? page, int? perPage, Iterable< String> ? collections, PhotoColor? color, PhotoOrientation? orientation, PhotoOrder? orderBy, ContentFilter? contentFilter, String? lang}) → Request<SearchResults< Photo> > - Search photos
-
toString(
) → String -
A string representation of this object.
inherited
-
users(
String query, {int? page, int? perPage}) → Request< SearchResults< User> > - Search users
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited