MonthStats class
Monthly statistics for all of Unsplash.
See: Unsplash docs
Constructors
-
MonthStats({Map<
String, dynamic> ? source, required int downloads, required int views, required int? likes, required int newPhotos, required int newPhotographers, required int newPixels, required int newDevelopers, required int newApplications, required int newRequests}) -
const
-
MonthStats.fromJson(Map<
String, dynamic> json) -
factory
Properties
- downloads → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- likes → int?
-
final
- newApplications → int
-
final
- newDevelopers → int
-
final
- newPhotographers → int
-
final
- newPhotos → int
-
final
- newPixels → int
-
final
- newRequests → 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
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