toJson method
Implementation
Map<String, dynamic> toJson() {
final s3OutputLocation = this.s3OutputLocation;
final compilerOptions = this.compilerOptions;
final kmsKeyId = this.kmsKeyId;
final targetDevice = this.targetDevice;
final targetPlatform = this.targetPlatform;
return {
'S3OutputLocation': s3OutputLocation,
if (compilerOptions != null) 'CompilerOptions': compilerOptions,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (targetDevice != null) 'TargetDevice': targetDevice.toValue(),
if (targetPlatform != null) 'TargetPlatform': targetPlatform,
};
}