total method
Get a list of counts for all of Unsplash.
See: Unsplash docs
Implementation
Request<TotalStats> total() {
final url = baseUrl.resolve('total');
return Request(
client: client,
httpRequest: http.Request('GET', url),
isPublicAction: true,
bodyDeserializer: (dynamic json) =>
TotalStats.fromJson(json as Map<String, dynamic>),
);
}