toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseModel != null) 'baseModel': baseModel!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (experiment != null) 'experiment': experiment!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (supervisedTuningSpec != null)
        'supervisedTuningSpec': supervisedTuningSpec!,
      if (tunedModel != null) 'tunedModel': tunedModel!,
      if (tunedModelDisplayName != null)
        'tunedModelDisplayName': tunedModelDisplayName!,
      if (tuningDataStats != null) 'tuningDataStats': tuningDataStats!,
      if (updateTime != null) 'updateTime': updateTime!,
    };