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

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

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.
1
likes
140
pub points
39%
popularity

Publisher

verified publishermuha.dev

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