chance_generator 0.0.1-pre-release chance_generator: ^0.0.1-pre-release copied to clipboard
Chance Dart is a free Open Source project that lets you create random strings, integers, and other things to help with tiresome tasks, especially when building automated tests or wherever else you req [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add chance_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
chance_generator: ^0.0.1-pre-release
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:chance_generator/chance_generator.dart';