IntervalStats.fromJson constructor
Creates a new IntervalStats instance from a JSON object.
Parameter:
json
– A map representing the JSON object.
Returns a new IntervalStats instance with the data from the JSON object.
Implementation
factory IntervalStats.fromJson(Map<String, dynamic> json) =>
_$IntervalStatsFromJson(json);