string function
Returns an arbitrary that generates a string value.
Parameters:
minLength
: The minimum length of the string.maxLength
: The maximum length of the string.characterSet
: The character set to use when generating the string.
Implementation
Arbitrary<String> string({
int? minLength,
int? maxLength,
CharacterSet? characterSet,
}) =>
StringArbitraries.string(
minLength: minLength,
maxLength: maxLength,
characterSet: characterSet,
);