res 1.5.1 copy "res: ^1.5.1" to clipboard
res: ^1.5.1 copied to clipboard

Result class that stops errors from throwing by returning either a value or an error

1.5.1 #

  • fix Future

1.5.0 #

  • add Result.of
  • add Result.ofFuture

1.4.0 #

  • add flatMap

1.3.0 #

  • add isNotError getter
  • value can be nullable

1.2.1 #

  • add toString method

1.2.0 #

  • add fromAsyncCallback for Future Function()

1.1.0 #

  • fromFuture can also take a Future Function()

1.0.1 #

  • Format files

1.0.0 #

  • Initial version.
2
likes
160
points
982
downloads

Publisher

verified publishermuha.dev

Weekly Downloads

Result class that stops errors from throwing by returning either a value or an error

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, meta

More

Packages that depend on res