TotalStats class

Total statistics for all of Unsplash.

See: Unsplash docs

Inheritance

Constructors

TotalStats({Map<String, dynamic>? source, required int photos, required int downloads, required int views, required int? likes, required int photographers, required int pixels, required int downloadsPerSecond, required int viewsPerSecond, required int developers, required int applications, required int requests})
const
TotalStats.fromJson(Map<String, dynamic> json)
factory

Properties

applications int
final
developers int
final
downloads int
final
downloadsPerSecond int
final
hashCode int
The hash code for this object.
no setterinherited
likes int?
final
photographers int
final
photos int
final
pixels int
final
requests int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Map<String, dynamic>?
The raw JSON response from the API which was used to construct this object.
finalinherited
views int
final
viewsPerSecond int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the json representation of this model in the unsplash api.
override
toString() String
A string representation of this object.
inherited

Operators

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