simple_result 1.0.0
simple_result: ^1.0.0 copied to clipboard

A simple posibility to return a Result with eiter success or failure.

1.0.0 #

  • implements null safety

0.1.9 #

  • accepts null functions in .when

0.1.8 #

  • adds toString support

0.1.7 #

  • adds equatable support

0.1.6 #

0.1.5 #

  • adds getOrElse support

0.1.4 #

  • adds flatMap support

0.1.3 #

  • reorganizes imports

0.1.2 #

  • adds support to map the result to a different value type.
  • adds isSuccess and isFailure
  • adds success getter for the value
  • adds failure getter for the failure

0.1.1 #

  • formatting again.

0.1.0 #

  • adds documentation and formats code with dartfmt.

0.0.2 #

  • changes Result<Failure,Success> to Result<Success,Failure>

0.0.1 #

  • initial release
2
likes
130
pub points
27%
popularity

A simple posibility to return a Result with eiter success or failure.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

cfregin@spielgestalt.de

License

MIT (LICENSE)

Dependencies

equatable, meta

More

Packages that depend on simple_result