toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (totalBillableCharacterCount != null)
        'totalBillableCharacterCount': totalBillableCharacterCount!,
      if (totalTuningCharacterCount != null)
        'totalTuningCharacterCount': totalTuningCharacterCount!,
      if (tuningDatasetExampleCount != null)
        'tuningDatasetExampleCount': tuningDatasetExampleCount!,
      if (tuningStepCount != null) 'tuningStepCount': tuningStepCount!,
      if (userDatasetExamples != null)
        'userDatasetExamples': userDatasetExamples!,
      if (userInputTokenDistribution != null)
        'userInputTokenDistribution': userInputTokenDistribution!,
      if (userMessagePerExampleDistribution != null)
        'userMessagePerExampleDistribution':
            userMessagePerExampleDistribution!,
      if (userOutputTokenDistribution != null)
        'userOutputTokenDistribution': userOutputTokenDistribution!,
    };