FFRandomString constructor

FFRandomString({
  1. int? minLength,
  2. int? maxLength,
  3. bool? lowercaseAz,
  4. bool? uppercaseAz,
  5. bool? digits,
})

Implementation

factory FFRandomString({
  $core.int? minLength,
  $core.int? maxLength,
  $core.bool? lowercaseAz,
  $core.bool? uppercaseAz,
  $core.bool? digits,
}) {
  final result = create();
  if (minLength != null) result.minLength = minLength;
  if (maxLength != null) result.maxLength = maxLength;
  if (lowercaseAz != null) result.lowercaseAz = lowercaseAz;
  if (uppercaseAz != null) result.uppercaseAz = uppercaseAz;
  if (digits != null) result.digits = digits;
  return result;
}