setEncodingCharacterSet method
- String characterSet
Sets the encoding character set for barcode scanning.
characterSet
: The encoding character set to set.
Example usage:
String characterSet = 'utf-8';
_barkoder.setEncodingCharacterSet(characterSet);
print('Encoding character set set to: $characterSet');
Implementation
Future<void> setEncodingCharacterSet(String characterSet) {
if (_isBarkoderViewNotMounted) {
return Future.error(PlatformException(
code: BarkoderErrors.barkoderViewNotMounted,
message: BarkoderErrors.barkodeViewNotMountedDesc));
}
return _methodChannel.invokeMethod('setEncodingCharacterSet', characterSet);
}