string method
Generates a random string with the given max
value
and to the lowest min
value if provided.
Example:
random.string(10);
random.string(10, min: 5);
Implementation
String string(int max, {int min = 1}) => String.fromCharCodes(
numbers(92, integer(max, min: min)).map((value) => value + 33));