The use of _convertStatementsBoundAttribute in _convertAttributes has
a type error that the analyzer has been failing to detect due to
https://github.com/dart-lang/sdk/issues/32305. In order to fix this
analyzer bug, we need to first fix any type errors that exist in the
wild.
This change fixes the type of _convertStatementsBoundAttribute to
match the type expected at the use site, and adds the necessary "as"
cast.
The use of _convertStatementsBoundAttribute in _convertAttributes has a type error that the analyzer has been failing to detect due to https://github.com/dart-lang/sdk/issues/32305. In order to fix this analyzer bug, we need to first fix any type errors that exist in the wild.
This change fixes the type of _convertStatementsBoundAttribute to match the type expected at the use site, and adds the necessary "as" cast.