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

style: use `.cast` extension method in `.from` factory ctors #366

Closed halildurmus closed 10 months ago

halildurmus commented 10 months ago

Description

Related Issue

Type of Change

codecov[bot] commented 10 months ago

Codecov Report

Merging #366 (e1e1a11) into main (364ae5a) will not change coverage. The diff coverage is 57.14%.

@@           Coverage Diff           @@
##             main     #366   +/-   ##
=======================================
  Coverage   92.89%   92.89%           
=======================================
  Files          85       85           
  Lines        4098     4098           
=======================================
  Hits         3807     3807           
  Misses        291      291           
Files Changed Coverage Δ
...ws_foundation/lib/src/collections/propertyset.dart 83.33% <ø> (ø)
...dows_foundation/lib/src/collections/stringmap.dart 86.66% <ø> (ø)
...ndows_foundation/lib/src/collections/valueset.dart 86.66% <ø> (ø)
...kages/windows_foundation/lib/src/iasyncaction.dart 0.00% <0.00%> (ø)
...ackages/windows_foundation/lib/src/iasyncinfo.dart 0.00% <0.00%> (ø)
...ges/windows_foundation/lib/src/ipropertyvalue.dart 99.45% <0.00%> (ø)
...ages/windows_foundation/lib/src/propertyvalue.dart 99.00% <ø> (ø)
packages/windows_foundation/lib/src/uri.dart 100.00% <ø> (ø)
.../windows_foundation/lib/src/wwwformurldecoder.dart 100.00% <ø> (ø)
packages/windows_foundation/lib/src/iclosable.dart 100.00% <100.00%> (ø)
... and 3 more

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more