refPtrLitOrNull<U extends NativeType, D> method
Implementation
Pointer<U> refPtrLitOrNull<U extends NativeType, D>(
D? x, String key, Pointer<U> Function([D, String]) alloc
) => x == null ? nullptr : alloc(x, key);