toJson method
Implementation
@override
Object toJson() {
return {
if (successfulCount.isNotDefault)
'successfulCount': encodeInt64(successfulCount),
if (failedCount.isNotDefault) 'failedCount': encodeInt64(failedCount),
if (incompleteCount.isNotDefault)
'incompleteCount': encodeInt64(incompleteCount),
if (successfulForecastPointCount.isNotDefault)
'successfulForecastPointCount': encodeInt64(
successfulForecastPointCount,
),
};
}