sero_te_amavi_rust 0.1.0 copy "sero_te_amavi_rust: ^0.1.0" to clipboard
sero_te_amavi_rust: ^0.1.0 copied to clipboard

Rust-like extensions for dartz: match, unwrap, ifSome, ifOk, ifErr, isSome, isNone, isOk, isErr for Option and Either types.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sero_te_amavi_rust

With Flutter:

 $ flutter pub add sero_te_amavi_rust

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sero_te_amavi_rust: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sero_te_amavi_rust/sero_te_amavi_rust.dart';
1
likes
140
points
6
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Rust-like extensions for dartz: match, unwrap, ifSome, ifOk, ifErr, isSome, isNone, isOk, isErr for Option and Either types.

Repository (GitHub)
View/report issues

Topics

#functional-programming #rust #option #either #result

License

MIT (license)

Dependencies

dartz

More

Packages that depend on sero_te_amavi_rust