toJson method
Implementation
Map<String, dynamic> toJson() {
final catalogTargets = this.catalogTargets;
final dynamoDBTargets = this.dynamoDBTargets;
final jdbcTargets = this.jdbcTargets;
final mongoDBTargets = this.mongoDBTargets;
final s3Targets = this.s3Targets;
return {
if (catalogTargets != null) 'CatalogTargets': catalogTargets,
if (dynamoDBTargets != null) 'DynamoDBTargets': dynamoDBTargets,
if (jdbcTargets != null) 'JdbcTargets': jdbcTargets,
if (mongoDBTargets != null) 'MongoDBTargets': mongoDBTargets,
if (s3Targets != null) 'S3Targets': s3Targets,
};
}