toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.buildConfig != null) {
json[r'build_config'] = this.buildConfig;
} else {
json[r'build_config'] = null;
}
if (this.deploymentConfigs != null) {
json[r'deployment_configs'] = this.deploymentConfigs;
} else {
json[r'deployment_configs'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.productionBranch != null) {
json[r'production_branch'] = this.productionBranch;
} else {
json[r'production_branch'] = null;
}
return json;
}