$allocate static method

Pointer<MpSegmentationOptions> $allocate(
  1. Allocator $allocator, {
  2. required int output_width,
  3. required int output_height,
})

Implementation

static ffi.Pointer<MpSegmentationOptions> $allocate(
  ffi.Allocator $allocator, {
  required int output_width,
  required int output_height,
}) => $allocator<MpSegmentationOptions>()
  ..ref.output_width = output_width
  ..ref.output_height = output_height;