toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (testAnnotationsCount != null)
        'testAnnotationsCount': testAnnotationsCount!,
      if (testDataItemsCount != null)
        'testDataItemsCount': testDataItemsCount!,
      if (trainingAnnotationsCount != null)
        'trainingAnnotationsCount': trainingAnnotationsCount!,
      if (trainingDataItemsCount != null)
        'trainingDataItemsCount': trainingDataItemsCount!,
      if (validationAnnotationsCount != null)
        'validationAnnotationsCount': validationAnnotationsCount!,
      if (validationDataItemsCount != null)
        'validationDataItemsCount': validationDataItemsCount!,
    };