$allocate static method

Pointer<Level> $allocate(
  1. Allocator $allocator, {
  2. required int depth,
  3. required int selectivity,
})

Implementation

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