Assertions not being counted as covered in Dart

Description

Assertions are not being counted as covered code.

Repository

CI/CD

Example

See some examples:

Uploader

Additional Information

I stumbled across this old issue, but it has been resolved for years:

And I also found this:

@awhitford, if you take a look at the raw coverage uploaded to Codecov in the Build tab, you’ll see that all of the reports show those lines as no covered

image

I’m not sure why this is the case for collecting coverage in dart.