toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (classLevelGlobalExplanations != null)
        'classLevelGlobalExplanations': classLevelGlobalExplanations!,
      if (dataSplitResult != null) 'dataSplitResult': dataSplitResult!,
      if (evaluationMetrics != null) 'evaluationMetrics': evaluationMetrics!,
      if (modelLevelGlobalExplanation != null)
        'modelLevelGlobalExplanation': modelLevelGlobalExplanation!,
      if (results != null) 'results': results!,
      if (startTime != null) 'startTime': startTime!,
      if (trainingOptions != null) 'trainingOptions': trainingOptions!,
      if (trainingStartTime != null) 'trainingStartTime': trainingStartTime!,
      if (vertexAiModelId != null) 'vertexAiModelId': vertexAiModelId!,
      if (vertexAiModelVersion != null)
        'vertexAiModelVersion': vertexAiModelVersion!,
    };