toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'flutter_path': flutterPath,
'upload_options': uploadOptions.toMap(),
'qr_code': qrCode.toMap(),
'pipeline_steps': pipelineSteps?.map((step) => step.toMap()).toList(),
'pipelines': pipelines?.map((key, val) => MapEntry(key, val.toMap())),
'hooks': hooks.toMap(),
};
}