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

discontinued

resultk.dart impl of Result.kt

Result.dart #

CI codecov

This project is an implement of Kotlin/Result.kt for dart.

Example #


final Result<String> result = runCatching(()=> xxxx);
if(result.isSucess) {
    // do if succeed
}
result.onSuccess((v) {
    // do if succeed
});
result.onFailure((e) {
  // do if failure
});

License #

see license file.

0
likes
10
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

resultk.dart impl of Result.kt

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on resultk