frx_annotation 1.0.3
frx_annotation: ^1.0.3 copied to clipboard
Annotations for frx_generator package that enables pattern matching for union types in Dart
1.0.3 #
- Added support for ignoring individual parameters by annotating them with
@FrxIgnoreAnnotation
. - If both
@FrxParamAnnotation
and@FrxIgnoreAnnotation
are present on a parameter, a warning is emitted and the parameter is ignored. - No breaking changes. This is a backward-compatible enhancement.
1.0.2 #
- Added
FrxIgnoreAnnotation
to allow ignoring specific factory constructors - Added
frxIgnore
constant for easier annotation usage - Updated documentation with examples for ignoring constructors
- Enhanced documentation for all annotation types
- Improved API documentation
1.0.1 #
- Made FrxAnnotation constructor public to allow customizing the generateAllFields parameter
- Added generateAllFields flag to control whether all fields or only @frxParam fields are included
- Improved documentation with comprehensive examples
- Enhanced code comments and API documentation
- Updated package metadata with more accurate descriptions
1.0.0+2 #
- Enhanced documentation and examples
- Fixed minor issues with type constraints
- Improved compatibility with latest Dart versions
1.0.0+1 #
- Improve documentation
- Update package metadata
- Add topics for pub.flutter-io.cn listing
1.0.0 #
- Initial release with basic annotation support:
- FrxAnnotation for classes
- FrxParamAnnotation for constructor parameters