halildurmus / dartwinrt

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

☂️ Support creating collections #162

Closed halildurmus closed 2 days ago

halildurmus commented 2 years ago

Certain WinRT APIs, such as the FileIO.WriteLinesAsync Method)), require the caller to supply a collection of values represented by objects like IIterable or IVectorView.

Currently, the creation of these objects is not supported.

However, once this is supported, it would be beneficial to change the method parameters to accept Dart List or Map instead. The projection would then handle the internal transformation of these related objects, providing a more user-friendly and enhanced user experience.