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
140
pub points
50%
popularity

Publisher

verified publisherkmartins.dev

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