Macros: expose isConst
on ConstructorDeclaration
#55768
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
feature-macros
Implementation of the macros feature
pkg-macros
The experimental package:_macros library
Currently it's not possible to determine whether a constructor is a const constructor or not when building a macro.
I would love to see
isConst
exposed viaConstructorDeclaration
alongsideisFactory
sdk/pkg/_macros/lib/src/api/introspection.dart
Line 286 in 6bc417d
The text was updated successfully, but these errors were encountered: