AlphaCase enum

This enum is used in order to specify which case to use for the alpha (letter) characters.

Note that AlphaCase.MIXED_CASE will cause the mustHaveAtLeastOneOfEach property to consider it as being two different "has" values.

For example, when using AlphaCase.MIXED_CASE and all the other "has" values as true, you must set minimum length to 4 because:

hasDigits = +1 hasSymbols = +1 hasAlpha = (using only lowercase or only uppercase) then +1 else +2

So the total sum = 4 (minimum length)

Otherwise, if you do not use mustHaveAtLeastOneOfEach, the minimum length is 1.

Inheritance

Constructors

AlphaCase()
const

Values

UPPERCASE_ONLY → const AlphaCase
LOWERCASE_ONLY → const AlphaCase
MIXED_CASE → const AlphaCase

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AlphaCase>
A constant List of the values in this enum, in order of their declaration.