$allocate static method

Pointer<Link> $allocate(
  1. Allocator $allocator, {
  2. required int score,
  3. required int move,
})

Implementation

static ffi.Pointer<Link> $allocate(
ffi.Allocator $allocator, {
required int score,
required int move,
}) => $allocator<Link>()
..ref.score = score
..ref.move = move;