Requirement enum

Inheritance
Available extensions

Values

atLeast12Character → const Requirement
const Requirement(r'^.{12,}$')
oneUppercaseLetter → const Requirement
const Requirement('[A-Z]+')
oneLowercaseLetter → const Requirement
const Requirement('[a-z]+')
oneDigit → const Requirement
const Requirement('[0-9]+')
oneSpecialCharacter → const Requirement
const Requirement(r'[!@#$%^&*(),.?":{}|<>]+')
emailAdress → const Requirement
const Requirement(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9-]+\.[a-zA-Z]+")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
regExp String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasMatch(String toMatch) bool

Available on Requirement, provided by the RequirementX extension

l10n(BuildContext context) String

Available on Requirement, provided by the RequirementX extension

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<Requirement>
A constant List of the values in this enum, in order of their declaration.