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

Encapsulate a value as a success or an error as a failure using Result and execute a function using runCatching that returns a Result, both similar to those found in Kotlin.

1.0.0 #

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

Publisher

verified publisherkmartins.dev

Weekly Downloads

Encapsulate a value as a success or an error as a failure using Result and execute a function using runCatching that returns a Result, both similar to those found in Kotlin.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on result_kt