toJson method

  1. @override
Object toJson()
override

Implementation

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