subzero 0.0.3
subzero: ^0.0.3 copied to clipboard
A Flutter plugin that provides reflection capabilities for Dart classes. Supports copyWith and toJson functionality with native platform implementations.
0.0.3 #
Features #
- Added support for nested structures in data serialization
- Now properly handles nested
SubzeroEntityobjects - Supports complex object hierarchies (e.g., Person with Address)
- Improved serialization of custom classes
- Now properly handles nested
Improvements #
- Enhanced error handling by replacing print statements with proper error handling
- Cleaned up code documentation
- Improved type safety in serialization process
Breaking Changes #
None
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