Exposes WinRT structs as Dart classes just like we expose the Guid class instead of the native struct GUID.
The primary motivation for this is to get rid of memory leaks on methods/properties that return WinRT struct. With this, we can safely free the native struct pointer and then return the Dart class variant to consumers.
Related Issue
None
Type of Change
[x] โจ New feature (non-breaking change which adds functionality)
[ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
Description
Exposes WinRT structs as Dart classes just like we expose the
Guid
class instead of the native structGUID
.The primary motivation for this is to get rid of memory leaks on methods/properties that return WinRT struct. With this, we can safely free the native struct pointer and then return the Dart class variant to consumers.
Related Issue
None
Type of Change