StringGenerator constructor
StringGenerator({
- String? prefix,
Builds a StringGenerator with a optional prefix
prefix
: The prefix of the generated strings, default to 'String'
Implementation
StringGenerator({String? prefix}) : _prefix = prefix ?? 'String';