$allocate static method

Pointer<BookCheckGame> $allocate(
  1. Allocator $allocator, {
  2. required int missing,
  3. required int good,
  4. required int bad,
})

Implementation

static ffi.Pointer<BookCheckGame> $allocate(
ffi.Allocator $allocator, {
required int missing,
required int good,
required int bad,
}) => $allocator<BookCheckGame>()
..ref.missing = missing
..ref.good = good
..ref.bad = bad;