$allocate static method

Pointer<OpeningName> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Char> line,
  3. required Pointer<Char> name,
})

Implementation

static ffi.Pointer<OpeningName> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Char> line,
required ffi.Pointer<ffi.Char> name,
}) => $allocator<OpeningName>()
..ref.line = line
..ref.name = name;