LockoutSettings constructor

LockoutSettings({
  1. Int64? maxPasswordAttempts,
  2. ResourceOwnerType? resourceOwnerType,
})

Implementation

factory LockoutSettings({
  $fixnum.Int64? maxPasswordAttempts,
  $1.ResourceOwnerType? resourceOwnerType,
}) {
  final $result = create();
  if (maxPasswordAttempts != null) {
    $result.maxPasswordAttempts = maxPasswordAttempts;
  }
  if (resourceOwnerType != null) {
    $result.resourceOwnerType = resourceOwnerType;
  }
  return $result;
}