Users class
Provides access to resources related to User.
See: Unsplash docs
Constructors
- Users(UnsplashClient client)
- Creates a new instance which belongs to client.
Properties
- baseUrl → Uri
-
The base url for all endpoints for User.
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 username, {int? page, int? perPage}) → Request< List< Collection> > - List a user’s collections
-
get(
String username) → Request< User> - Get a user’s public profile
-
likedPhotos(
String username, {int? page, int? perPage, PhotoOrder? orderBy, PhotoOrientation? orientation}) → Request< List< Photo> > - List a user’s liked photos
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
photos(
String username, {int? page, int? perPage, PhotoOrder? orderBy, bool? stats, StatisticsResolution? resolution, PhotoOrientation? orientation, int? quantity}) → Request< List< Photo> > - List a user’s photos
-
portfolio(
String username) → Request< UserPortfolioLink> - Get a user’s portfolio link
-
statistics(
String username, {StatisticsResolution? resolution, int? quantity}) → Request< UserStatistics> - Get a user’s statistics
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited