$allocate static method
Pointer<DecodeBarcodeParams>
$allocate(
- Allocator $allocator, {
- required Pointer<
Uint8> bytes, - required int length,
- required int imageFormat,
- required int format,
- required int width,
- required int height,
- required int cropLeft,
- required int cropTop,
- required int cropWidth,
- required int cropHeight,
- required bool tryHarder,
- required bool tryRotate,
- required bool tryInvert,
- required bool tryDownscale,
- required int maxNumberOfSymbols,
Implementation
static ffi.Pointer<DecodeBarcodeParams> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Uint8> bytes,
required int length,
required int imageFormat,
required int format,
required int width,
required int height,
required int cropLeft,
required int cropTop,
required int cropWidth,
required int cropHeight,
required bool tryHarder,
required bool tryRotate,
required bool tryInvert,
required bool tryDownscale,
required int maxNumberOfSymbols,
}) => $allocator<DecodeBarcodeParams>()
..ref.bytes = bytes
..ref.length = length
..ref.imageFormat = imageFormat
..ref.format = format
..ref.width = width
..ref.height = height
..ref.cropLeft = cropLeft
..ref.cropTop = cropTop
..ref.cropWidth = cropWidth
..ref.cropHeight = cropHeight
..ref.tryHarder = tryHarder
..ref.tryRotate = tryRotate
..ref.tryInvert = tryInvert
..ref.tryDownscale = tryDownscale
..ref.maxNumberOfSymbols = maxNumberOfSymbols;