toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (artifactDestination != null)
        'artifactDestination': artifactDestination!,
      if (deployToSameEndpoint != null)
        'deployToSameEndpoint': deployToSameEndpoint!,
      if (tunedModelRef != null) 'tunedModelRef': tunedModelRef!,
      if (tuningJob != null) 'tuningJob': tuningJob!,
    };