HString.fromHandle constructor

HString.fromHandle(
  1. int handle
)

Create a HString from a given HSTRING handle.

Implementation

factory HString.fromHandle(int handle) =>
    handle == 0 ? const HString.empty() : HString._(handle);