$allocate static method

Pointer<UnnamedStruct$1> $allocate(
  1. Allocator $allocator, {
  2. required int i,
  3. required int x,
})

Implementation

static ffi.Pointer<UnnamedStruct$1> $allocate(
ffi.Allocator $allocator, {
required int i,
required int x,
}) => $allocator<UnnamedStruct$1>()
..ref.i = i
..ref.x = x;