ScanProfile constructor
ScanProfile({})
profileName
is the name for the package that will be visible in the profile list on the device.
packageNames
inside the ScanProfile is optional and if omitted the packageName for this host application will be used witch is mostly what you want.
profileIntentAction
is the intent action that will be used when sending the scan result to the host application. This should only be used if you use this package only to create profile.
When changing this value the scans will not be triggered on this package.
Implementation
ScanProfile({
required this.profileName,
this.configMode = ProfileCreateType.createIfNotExist,
this.disableKeystroke = false,
this.barcodePlugin,
this.packageNames = const [],
this.optionalMap,
this.profileIntentAction = ScanCommands.profileIntentAction,
});