toJson method
Implementation
Map<String, dynamic> toJson() {
final s3OutputPath = this.s3OutputPath;
final kmsKeyId = this.kmsKeyId;
final snsTopicArn = this.snsTopicArn;
return {
'S3OutputPath': s3OutputPath,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (snsTopicArn != null) 'SnsTopicArn': snsTopicArn,
};
}