PutPipelineDefinitionOutput.fromJson constructor
PutPipelineDefinitionOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PutPipelineDefinitionOutput.fromJson(Map<String, dynamic> json) {
return PutPipelineDefinitionOutput(
errored: json['errored'] as bool,
validationErrors: (json['validationErrors'] as List?)
?.whereNotNull()
.map((e) => ValidationError.fromJson(e as Map<String, dynamic>))
.toList(),
validationWarnings: (json['validationWarnings'] as List?)
?.whereNotNull()
.map((e) => ValidationWarning.fromJson(e as Map<String, dynamic>))
.toList(),
);
}