StripStep.fromMap constructor

StripStep.fromMap(
  1. Map<String, dynamic> map
)

Creates a StripStep from a YAML-derived map.

Implementation

factory StripStep.fromMap(Map<String, dynamic> map) {
  return StripStep(
    id: map['id'] as String,
    inputPath: map['input_path'] as String,
    outputPath: map['output_path'] as String,
    stripAll: map['strip_all'] as bool? ?? false,
  );
}