$allocate static method
Implementation
static ffi.Pointer<EncodeBarcodeParams> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Char> contents,
required int width,
required int height,
required int format,
required int margin,
required int eccLevel,
}) => $allocator<EncodeBarcodeParams>()
..ref.contents = contents
..ref.width = width
..ref.height = height
..ref.format = format
..ref.margin = margin
..ref.eccLevel = eccLevel;