when_expression 1.0.1 copy "when_expression: ^1.0.1" to clipboard
when_expression: ^1.0.1 copied to clipboard

when expression written for Dart and it tries to imitate kotlin's behaviour

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add when_expression

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

dependencies:
  when_expression: ^1.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:when_expression/when_expression.dart';
3
likes
40
pub points
0%
popularity

Publisher

verified publishernk2.eu

when expression written for Dart and it tries to imitate kotlin's behaviour

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on when_expression