AuthRegs enum

Inheritance

Constructors

AuthRegs(String value)
const

Values

email → const AuthRegs
const AuthRegs(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+")
username → const AuthRegs
const AuthRegs(r"^[a-zA-Z0-9_]{3,16}$")
usernameWithDot → const AuthRegs
const AuthRegs(r"^[a-zA-Z0-9_.]{3,16}$")
phone → const AuthRegs
const AuthRegs(r'^[+]*[(]{0,1}[0-9]{1,4}+$')
phone2 → const AuthRegs
const AuthRegs(r'^(?:[+0][1-9])?[0-9]{10,12}$')
phone3 → const AuthRegs
const AuthRegs(r'^\+?[0-9]{7,15}$')

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
value String
final

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