toJson method
Implementation
@override
Object toJson() => {
if (latestStatsCount case final latestStatsCount?)
'latestStatsCount': latestStatsCount,
if (statsTimeRange case final statsTimeRange?)
'statsTimeRange': statsTimeRange.toJson(),
};