$allocate static method

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

Implementation

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