$allocate static method

Pointer<Random> $allocate(
  1. Allocator $allocator, {
  2. required int x,
})

Implementation

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