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
13
downloads

Documentation

Documentation
API reference

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

License

MIT (license)

More

Packages that depend on mayr_result