toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'name': name,
    'command': command,
    'depends_on': dependsOn,
    'upload_output': uploadOutput,
    'output_path': outputPath, // Save output path
    'notify_slack': notifySlack,
    'stop_on_failure': stopOnFailure,
    'custom_exit_condition': customExitCondition,
  };
}