Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/esenmx/rand

Random Generator for Dart
https://github.com/esenmx/rand

Last synced: about 2 months ago
JSON representation

Random Generator for Dart

Awesome Lists containing this project

README

        

# rand

A stateful random generator with extra functionalities. To use:

```dart
print(Rand.boolean(20) ? 'head' : 'tail'); // it's a head for with 20% chance
Rand.dateTimeYear(2001, 2024) // A random 21th century [DateTime]
Rand.password() // Create a strong password
```