ActivateForFile method Null safety

int ActivateForFile(
  1. Pointer<Utf16> appUserModelId,
  2. Pointer<NativeType> itemArray,
  3. Pointer<Utf16> verb,
  4. Pointer<Uint32> processId
)

Implementation

int ActivateForFile(Pointer<Utf16> appUserModelId, Pointer itemArray,
        Pointer<Utf16> verb, Pointer<Uint32> processId) =>
    ptr.ref.lpVtbl.value
            .elementAt(4)
            .cast<Pointer<NativeFunction<_ActivateForFile_Native>>>()
            .value
            .asFunction<_ActivateForFile_Dart>()(
        ptr.ref.lpVtbl, appUserModelId, itemArray, verb, processId);