$allocate static method

Pointer<wasm_limits_t> $allocate(
  1. Allocator $allocator, {
  2. required int min,
  3. required int max,
})

Implementation

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