@override Map<String, dynamic> toMap() { return {'type': 'barcodeCapture', 'feedback': _feedback.toMap(), 'settings': _settings.toMap()}; }