convertFromHString function winrt

String convertFromHString(
  1. int hstring
)

Takes a HSTRING (a WinRT String handle), and converts it to a Dart String.

Implementation

String convertFromHString(int hstring) =>
    WindowsGetStringRawBuffer(hstring, nullptr).toDartString();