SetDefaultExtension method Null safety

int SetDefaultExtension(
  1. Pointer<Utf16> pszDefaultExtension
)

Implementation

int SetDefaultExtension(Pointer<Utf16> pszDefaultExtension) =>
    ptr.ref.lpVtbl.value
            .elementAt(22)
            .cast<Pointer<NativeFunction<_SetDefaultExtension_Native>>>()
            .value
            .asFunction<_SetDefaultExtension_Dart>()(
        ptr.ref.lpVtbl, pszDefaultExtension);