toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final destinationPath = this.destinationPath;
  final ownerSetting = this.ownerSetting;
  final sageMakerJobArn = this.sageMakerJobArn;
  return {
    if (destinationPath != null) 'DestinationPath': destinationPath,
    if (ownerSetting != null) 'OwnerSetting': ownerSetting,
    if (sageMakerJobArn != null) 'SageMakerJobArn': sageMakerJobArn,
  };
}