HistoricalData class
Historical data for a statistic.
Constructors
-
HistoricalData({Map<
String, dynamic> ? source, required int change, required int? average, required String resolution, required int quantity, required List<HistoricalValue> values}) -
const
-
HistoricalData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- average → int?
-
final
- change → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- quantity → int
-
final
- resolution → String
-
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
-
values
→ List<
HistoricalValue> -
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