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

fix!: some Vector type arguments are now nullable #286

Closed halildurmus closed 1 year ago

halildurmus commented 1 year ago

Description

When I initially added support for WinRT Vectors, I was unaware that it was possible for them to contain null elements. However, while working on #285, I discovered that they can indeed contain null elements.

This change only impacts type arguments such as Uri and subtypes of IInspectable (such as StorageFile), while other type arguments remain non-nullable.

Related Issue

Type of Change