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({
  $7.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;
}