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

Methods with `out` parameters should return a `Record` #284

Closed halildurmus closed 12 months ago

halildurmus commented 1 year ago

Is there an existing issue for this?

Please select which package this feature is related to

winrtgen

Is your feature request related to a problem?

As Dart currently lacks support for out parameters (see dart-lang/language#1911), the most viable alternative at present seems to be records.

Describe the solution that you'd like

See #299

Describe alternatives that you have considered

No response

Additional context

No response

Code of Conduct