ActivateForProtocol method Null safety

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

Implementation

int ActivateForProtocol(Pointer<Utf16> appUserModelId, Pointer itemArray,
        Pointer<Uint32> processId) =>
    ptr.ref.lpVtbl.value
            .elementAt(5)
            .cast<Pointer<NativeFunction<_ActivateForProtocol_Native>>>()
            .value
            .asFunction<_ActivateForProtocol_Dart>()(
        ptr.ref.lpVtbl, appUserModelId, itemArray, processId);