PasswordComplexityPolicy constructor

PasswordComplexityPolicy({
  1. ObjectDetails? details,
  2. Int64? minLength,
  3. bool? hasUppercase,
  4. bool? hasLowercase,
  5. bool? hasNumber,
  6. bool? hasSymbol,
  7. bool? isDefault,
})

Implementation

factory PasswordComplexityPolicy({
  $0.ObjectDetails? details,
  $fixnum.Int64? minLength,
  $core.bool? hasUppercase,
  $core.bool? hasLowercase,
  $core.bool? hasNumber,
  $core.bool? hasSymbol,
  $core.bool? isDefault,
}) {
  final result = create();
  if (details != null) result.details = details;
  if (minLength != null) result.minLength = minLength;
  if (hasUppercase != null) result.hasUppercase = hasUppercase;
  if (hasLowercase != null) result.hasLowercase = hasLowercase;
  if (hasNumber != null) result.hasNumber = hasNumber;
  if (hasSymbol != null) result.hasSymbol = hasSymbol;
  if (isDefault != null) result.isDefault = isDefault;
  return result;
}