static ffi.Pointer<Board> $allocate( ffi.Allocator $allocator, { required int player, required int opponent, }) => $allocator<Board>() ..ref.player = player ..ref.opponent = opponent;