dart_random_choice 0.0.2 copy "dart_random_choice: ^0.0.2" to clipboard
dart_random_choice: ^0.0.2 copied to clipboard

outdated

A library for generating a random choice from an iterable.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_random_choice

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

dependencies:
  dart_random_choice: ^0.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:dart_random_choice/dart_random_choice.dart';
14
likes
30
pub points
73%
popularity

Publisher

verified publisherkirocodes.dev

A library for generating a random choice from an iterable.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on dart_random_choice