toMap method

Map<String, dynamic> toMap()

Serializes this step to a map suitable for YAML output.

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'type': 'strip',
    'id': id,
    'input_path': inputPath,
    'output_path': outputPath,
    if (stripAll) 'strip_all': stripAll,
  };
}