toDartString method
Converts this BSTR to a Dart string.
Any embedded NUL characters are preserved in the resulting Dart string.
Implementation
@pragma('vm:prefer-inline')
String toDartString() =>
String.fromCharCodes(cast<WCHAR>().asTypedList(length));