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