$allocate static method

Pointer<UnnamedStruct$3> $allocate(
  1. Allocator $allocator, {
  2. required int year,
  3. required int month,
  4. required int day,
  5. required int hour,
  6. required int minute,
  7. required int second,
})

Implementation

static ffi.Pointer<UnnamedStruct$3> $allocate(
ffi.Allocator $allocator, {
required int year,
required int month,
required int day,
required int hour,
required int minute,
required int second,
}) => $allocator<UnnamedStruct$3>()
..ref.year = year
..ref.month = month
..ref.day = day
..ref.hour = hour
..ref.minute = minute
..ref.second = second;