toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bestTrialId != null) 'bestTrialId': bestTrialId!,
      if (creationTime != null) 'creationTime': creationTime!,
      if (defaultTrialId != null) 'defaultTrialId': defaultTrialId!,
      if (description != null) 'description': description!,
      if (encryptionConfiguration != null)
        'encryptionConfiguration': encryptionConfiguration!,
      if (etag != null) 'etag': etag!,
      if (expirationTime != null) 'expirationTime': expirationTime!,
      if (featureColumns != null) 'featureColumns': featureColumns!,
      if (friendlyName != null) 'friendlyName': friendlyName!,
      if (hparamSearchSpaces != null)
        'hparamSearchSpaces': hparamSearchSpaces!,
      if (hparamTrials != null) 'hparamTrials': hparamTrials!,
      if (labelColumns != null) 'labelColumns': labelColumns!,
      if (labels != null) 'labels': labels!,
      if (lastModifiedTime != null) 'lastModifiedTime': lastModifiedTime!,
      if (location != null) 'location': location!,
      if (modelReference != null) 'modelReference': modelReference!,
      if (modelType != null) 'modelType': modelType!,
      if (optimalTrialIds != null) 'optimalTrialIds': optimalTrialIds!,
      if (remoteModelInfo != null) 'remoteModelInfo': remoteModelInfo!,
      if (trainingRuns != null) 'trainingRuns': trainingRuns!,
      if (transformColumns != null) 'transformColumns': transformColumns!,
    };