SharedCalls class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
applyParametersOnDefaultJson (String defaultJsonName , Map <String , dynamic > updatedParameters )
→ Future <Map <String , dynamic > >
This method takes the default json file and updates the parameters with the given parameters from customer configuration
The approach is needed to always have the full json come to the native platform
checkColors (Map <String , dynamic > defaultConfiguration )
→ void
take the color all strings with alpha and swap the last two characters to the start position RGBA-> ARGB
cleanupStorageInternal (MethodChannel _channel )
→ Future <void >
Cleanups the storage folders of the Scanbot SDK.
detectBarcodesFromImage (MethodChannel channel , Uri imageFileUri , BarcodeScannerConfiguration configuration )
→ Future <BarcodeScannerResult >
getBarcodeFormatter (BarcodeUseCase useCase )
→ BarcodeItemMapper ?
getLicenseStatusInternal (MethodChannel channel )
→ Future <SdkLicenseStatus >
Returns the current license status of the Scanbot SDK.
invoke (MethodChannel _channel , String method , Map <String , dynamic > json )
→ Future <String >
isUsecaseSupportBarcodeFormatter (BarcodeScannerScreenConfiguration config )
→ bool
makeImageRefsSnapshot (MethodChannel channel )
→ Future <ImageRefPoolSnapshot ? >
startBarcodeScanner (MethodChannel channel , BarcodeScannerScreenConfiguration config )
→ Future <ResultWrapper <BarcodeScannerUiResult > >
swapColorString (dynamic value )
→ dynamic
updateParameter (Map <String , dynamic > updatedParameters , Map <String , dynamic > defaultConfiguration )
→ void
wasCanceled (String result )
→ bool
barcode_scanner 7.0.0-alpha03