generate method
Create a random string of a given length which is unique every time.
Implementation
String generate(int length) => String.fromCharCodes(
Iterable.generate(
length,
(_) => _chars.codeUnitAt(
_random.nextInt(_chars.length),
),
),
);