FormValidator class
Properties
-
hashCode
→ int
-
The hash code for this object.
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
Static Methods
-
validate(dynamic data, {bool required = false, String requiredMessage = "Field cannot be empty", int min = 0, String minMessage = "Data must be of % length", int max = 20000, String maxMessage = "Data must not exceed % characters", String? match, String matchMessage = "%data doesn't match with %match", RegExp? regex, String regexMessage = "Invalid input!", StringFormat? stringFormat, String? stringFormatMessage})
→ String?
-