Map<String, dynamic> toJson() { return {'BarcodeBuilders': barcodeBuilders, 'XStep': xStep, 'YStep': yStep}; }