ActivateApplication method Null safety

int ActivateApplication(
  1. Pointer<Utf16> appUserModelId,
  2. Pointer<Utf16> arguments,
  3. int options,
  4. Pointer<Uint32> processId
)

Implementation

int ActivateApplication(Pointer<Utf16> appUserModelId,
        Pointer<Utf16> arguments, int options, Pointer<Uint32> processId) =>
    ptr.ref.lpVtbl.value
            .elementAt(3)
            .cast<Pointer<NativeFunction<_ActivateApplication_Native>>>()
            .value
            .asFunction<_ActivateApplication_Dart>()(
        ptr.ref.lpVtbl, appUserModelId, arguments, options, processId);