toJson method
Implementation
Map<String, dynamic> toJson() {
final configSnapshotDeliveryProperties =
this.configSnapshotDeliveryProperties;
final name = this.name;
final s3BucketName = this.s3BucketName;
final s3KeyPrefix = this.s3KeyPrefix;
final snsTopicARN = this.snsTopicARN;
return {
if (configSnapshotDeliveryProperties != null)
'configSnapshotDeliveryProperties': configSnapshotDeliveryProperties,
if (name != null) 'name': name,
if (s3BucketName != null) 's3BucketName': s3BucketName,
if (s3KeyPrefix != null) 's3KeyPrefix': s3KeyPrefix,
if (snsTopicARN != null) 'snsTopicARN': snsTopicARN,
};
}