data_channel 4.0.0+2 copy "data_channel: ^4.0.0+2" to clipboard
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(); added fold(), forwardErrorOr(), forwardErrorOrElse()
  • Breaking: DCData now contains Option<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 fold method for exhaustive pattern matching with required handlers
  • Added mapData method to transform successful data while preserving errors
  • Added mapError method 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
7
likes
0
points
211
downloads

Publisher

verified publisherganeshrvel.com

Weekly Downloads

data_channel (DC) is a simple dart utility for handling exceptions and data routing.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on data_channel