toJson method
Implementation
Map<String, dynamic> toJson() {
final profileName = this.profileName;
final trainingJobDefinition = this.trainingJobDefinition;
final transformJobDefinition = this.transformJobDefinition;
return {
'ProfileName': profileName,
'TrainingJobDefinition': trainingJobDefinition,
if (transformJobDefinition != null)
'TransformJobDefinition': transformJobDefinition,
};
}