match_case 0.0.5 copy "match_case: ^0.0.5" to clipboard
match_case: ^0.0.5 copied to clipboard

A dart package for pattern matching.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add match_case

With Flutter:

 $ flutter pub add match_case

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

dependencies:
  match_case: ^0.0.5

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:match_case/match_case.dart';
1
likes
130
points
9
downloads

Publisher

verified publishersabinbir.com.np

Weekly Downloads

A dart package for pattern matching.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on match_case