mayr_result 1.0.0 copy "mayr_result: ^1.0.0" to clipboard
mayr_result: ^1.0.0 copied to clipboard

A lightweight functional-style Result type for Dart that represents success or failure outcomes. Simplifies error handling by replacing exceptions with safe, expressive result objects.

1.0.0 #

  • πŸŽ‰ Initial stable release
  • ✨ Implemented MayrResult<T, E> type with Ok and Err variants
  • βœ… Added pattern matching with when, onOk, and onErr methods
  • 🧠 Added composable methods: then and catchError
  • πŸ“ Added comprehensive documentation and examples
  • βœ… Added extensive test coverage
  • πŸš€ Full support for type inference and null safety

0.1.0 #

  • Initial version
2
likes
140
points
166
downloads

Publisher

verified publishermayrlabs.com

Weekly Downloads

A lightweight functional-style Result type for Dart that represents success or failure outcomes. Simplifies error handling by replacing exceptions with safe, expressive result objects.

Repository (GitHub)
View/report issues

Topics

#result #utilities #dart #productivity #toolkit

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on mayr_result