ScanKitDecoder constructor

ScanKitDecoder({
  1. int scanTypes = scanTypeAll,
  2. bool? photoMode,
  3. bool? parseResult,
})

Implementation

ScanKitDecoder(
    {int scanTypes = scanTypeAll, bool? photoMode, bool? parseResult})
    : _api = ScanKitApi() {
  options['scanTypes'] = scanTypes;
  if (photoMode != null) {
    options['photoMode'] = photoMode;
  }
  if (parseResult != null) {
    options['parseResult'] = parseResult;
  }
}