set<T> function
Returns an arbitrary that generates a set value.
Parameters:
element
: The arbitrary to use to generate the elements of the set.minLength
: The minimum length of the set.maxLength
: The maximum length of the set.
Implementation
Arbitrary<Set<T>> set<T>(
Arbitrary<T> element, {
int? minLength,
int? maxLength,
}) =>
SetArbitraries.set(
element,
minLength: minLength,
maxLength: maxLength,
);