toPointer static method

Pointer<Void> toPointer(
  1. ZoneEvent? val
)

Implementation

static Pointer<Void> toPointer(ZoneEvent? val)  {
    if (val == null) {
      return nullptr;
    }
    final result = malloc<ZoneEventNative>();
    result.ref = toNative(val);
    return result.cast();
}