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

outdated

Result package for Dart and Flutter designed around fluent APIs and a functional approach to error handling, because things go wrong!.

example/do_what_now_example.dart

import 'package:do_what_now/do_what_now.dart';

void main() {
  
  // Don't forget to define the generic Type to avoid usage of dynamic
  final doWhat = create<String>('value');

  if(doWhat.isSuccess){
    // this is now true as the 'value' string was a valid String
  }
  
}
2
likes
0
points
22
downloads

Publisher

verified publisherevilliam.net

Weekly Downloads

Result package for Dart and Flutter designed around fluent APIs and a functional approach to error handling, because things go wrong!.

Repository (GitHub)
View/report issues

Topics

#railway #functional #errors #result #ensure

License

unknown (license)

More

Packages that depend on do_what_now