Stats class

Provides access to the TotalStats and MonthStats resources.

See: Unsplash docs

Constructors

Stats(UnsplashClient client)
Creates a new instance which belongs to client.

Properties

baseUrl Uri
The base url for all endpoints for Stats.
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

month() Request<MonthStats>
Get the overall Unsplash stats for the past 30 days.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
total() Request<TotalStats>
Get a list of counts for all of Unsplash.

Operators

operator ==(Object other) bool
The equality operator.
inherited