data_channel 4.0.0+2
data_channel: ^4.0.0+2 copied to clipboard
data_channel (DC) is a simple dart utility for handling exceptions and data routing.
4.0.0+2 #
- Readme updates
4.0.0+1 #
- Readme updates
4.0.0 #
- Requires Dart 3.0+ for sealed class support
- Breaking: Complete API redesign - removed
pick(),mapData(); addedfold(),forwardErrorOr(),forwardErrorOrElse() - Breaking:
DCDatanow containsOption<Data>(Some/None pattern) instead of nullable types - New:
mapError()for error transformations, comprehensive Option API for null-safety
3.0.0+2 #
- Changelog updates
3.0.0+1 #
- Readme updates
3.0.0 #
- Added
foldmethod for exhaustive pattern matching with required handlers - Added
mapDatamethod to transform successful data while preserving errors - Added
mapErrormethod to transform errors while preserving data - Improved type safety and null handling
- Enhanced documentation with additional examples
2.0.0+1 #
- Added null safety
1.0.4+1 #
- Fixed 'Dart_LoadScriptFromKernel: The binary program does not contain main' bug
1.0.3 #
- Description updates
1.0.0 #
- Initial release