toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (droppedExampleReasons != null)
    'droppedExampleReasons': droppedExampleReasons!,
  if (totalBillableCharacterCount != null)
    'totalBillableCharacterCount': totalBillableCharacterCount!,
  if (totalBillableTokenCount != null)
    'totalBillableTokenCount': totalBillableTokenCount!,
  if (totalTruncatedExampleCount != null)
    'totalTruncatedExampleCount': totalTruncatedExampleCount!,
  if (totalTuningCharacterCount != null)
    'totalTuningCharacterCount': totalTuningCharacterCount!,
  if (truncatedExampleIndices != null)
    'truncatedExampleIndices': truncatedExampleIndices!,
  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!,
};