toJson method

  1. @override
Object toJson()
override

Implementation

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