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