toJson method
Implementation
Map<String, dynamic> toJson() {
final s3DataSource = this.s3DataSource;
final snsDataSource = this.snsDataSource;
return {
if (s3DataSource != null) 'S3DataSource': s3DataSource,
if (snsDataSource != null) 'SnsDataSource': snsDataSource,
};
}