queryParsed property

WwwFormUrlDecoder? get queryParsed

Implementation

WwwFormUrlDecoder? get queryParsed {
  final ppWwwFormUrlDecoder = calloc<COMObject>();

  final hr = ptr.ref.vtable
          .elementAt(15)
          .cast<
              Pointer<
                  NativeFunction<
                      HRESULT Function(VTablePointer lpVtbl,
                          Pointer<COMObject> ppWwwFormUrlDecoder)>>>()
          .value
          .asFunction<
              int Function(VTablePointer lpVtbl,
                  Pointer<COMObject> ppWwwFormUrlDecoder)>()(
      ptr.ref.lpVtbl, ppWwwFormUrlDecoder);

  if (FAILED(hr)) {
    free(ppWwwFormUrlDecoder);
    throwWindowsException(hr);
  }

  if (ppWwwFormUrlDecoder.isNull) {
    free(ppWwwFormUrlDecoder);
    return null;
  }

  return WwwFormUrlDecoder.fromPtr(ppWwwFormUrlDecoder);
}