result_kt 1.1.0 copy "result_kt: ^1.1.0" to clipboard
result_kt: ^1.1.0 copied to clipboard

Encapsulate a value as a success or an error as a failure using Result, execute a function using runCatching that returns a Result, and transform the Stream value into a Result.

1.1.0 #

  • Adds toResult function that transforms the Stream value into a Result.

1.0.0 #

  • Adds Result type.
  • Adds the runCatching function.
6
likes
160
points
134
downloads

Publisher

verified publisherkmartins.dev

Weekly Downloads

Encapsulate a value as a success or an error as a failure using Result, execute a function using runCatching that returns a Result, and transform the Stream value into a Result.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on result_kt