PasswordComplexitySettings constructor

PasswordComplexitySettings({
  1. Int64? minLength,
  2. bool? requiresUppercase,
  3. bool? requiresLowercase,
  4. bool? requiresNumber,
  5. bool? requiresSymbol,
  6. ResourceOwnerType? resourceOwnerType,
})

Implementation

factory PasswordComplexitySettings({
  $fixnum.Int64? minLength,
  $core.bool? requiresUppercase,
  $core.bool? requiresLowercase,
  $core.bool? requiresNumber,
  $core.bool? requiresSymbol,
  $1.ResourceOwnerType? resourceOwnerType,
}) {
  final $result = create();
  if (minLength != null) {
    $result.minLength = minLength;
  }
  if (requiresUppercase != null) {
    $result.requiresUppercase = requiresUppercase;
  }
  if (requiresLowercase != null) {
    $result.requiresLowercase = requiresLowercase;
  }
  if (requiresNumber != null) {
    $result.requiresNumber = requiresNumber;
  }
  if (requiresSymbol != null) {
    $result.requiresSymbol = requiresSymbol;
  }
  if (resourceOwnerType != null) {
    $result.resourceOwnerType = resourceOwnerType;
  }
  return $result;
}