toMap method
Serializes this step to a map suitable for YAML output.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'type': 'download_archive',
'id': id,
'url': url,
if (sha256 != null) 'sha256': sha256,
if (outputDirectory != null) 'output_directory': outputDirectory,
};
}