halildurmus / dartwinrt

Idiomatic Dart projection of the modern Windows Runtime (WinRT) APIs.
BSD 3-Clause "New" or "Revised" License
49 stars 3 forks source link

Expose `Char16` types as `String` #358

Closed halildurmus closed 10 months ago

halildurmus commented 10 months ago

WinRT includes a Char16 type, representing a 16-bit non-numeric value that corresponds to a UTF-16 code unit.

Currently, these types are exposed as int; however, a more suitable approach would be to expose them as String instead.