Map<String, dynamic> get toMap => { 'name': profileName, 'keystroke_output_enabled': !disableKeystroke, 'barcodePlugin': barcodePlugin?.toMap, };