Regs enum
Values
- digit → const Regs
-
const Regs(r'^\d+(.\d{1,2})?$')
- numeric → const Regs
-
const Regs(r'^-?[0-9]+$')
- letter → const Regs
-
const Regs(r'^[a-z A-Z]+$')
- email → const Regs
-
const Regs(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+")
- username → const Regs
-
const Regs(r"^[a-zA-Z0-9_]{3,16}$")
- usernameWithDot → const Regs
-
const Regs(r"^[a-zA-Z0-9_.]{3,16}$")
- phone → const Regs
-
const Regs(r'^[+]*[(]{0,1}[0-9]{1,4}+$')
- phone2 → const Regs
-
const Regs(r'^(?:[+0][1-9])?[0-9]{10,12}$')
- phone3 → const Regs
-
const Regs(r'^\+?[0-9]{7,15}$')
- url → const Regs
-
const Regs(r'(http|https)://[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?')
- path → const Regs
-
const Regs(r"^[a-zA-Z_]\w*(/[a-zA-Z_]\w*)*$")
- path2 → const Regs
-
const Regs(r"^[a-zA-Z0-9_]+(?:/[a-zA-Z0-9_]+)*$")
- path3 → const Regs
-
const Regs(r"^[a-zA-Z_][a-zA-Z0-9_]*(/[a-zA-Z_][a-zA-Z0-9_]*)*$")
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 - 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