subzero 0.0.2
subzero: ^0.0.2 copied to clipboard
A Flutter plugin that provides reflection capabilities for Dart classes. Supports copyWith and toJson functionality with native platform implementations.
0.0.2 #
- 🔧 Breaking Changes:
- Changed property definition from
fieldstoproperties - New
propertiesgetter now includes both value and type information
- Changed property definition from
- 🐛 Bug Fixes:
- Removed hardcoded property access in native implementations
- Fixed property retention in copyWith operations
Before:
@override
Map<String, Type> get fields => {
'name': String,
'age': int,
'isActive': bool,
};
After:
@override
Map<String, ({dynamic value, Type type})> get properties => {
'name': (value: name, type: String),
'age': (value: age, type: int),
'isActive': (value: isActive, type: bool),
};
0.0.1 #
- Initial release 🎉
- Features:
- Runtime property type information
- Automatic copyWith implementation
- No code generation required
- Platform-specific native code support (iOS and Android)
- Zero build time impact
- Added support for:
- Dynamic property access
- Type-safe property mapping
- Native platform implementations for iOS and Android