PRuleMinString class
Constructors
PRuleMinString (String ? _value , int min , {String message = "Minimum size is" })
Check if the value size greater than or equal to the min value
value
is the value to chec
min is the minimum size of value
message is the error message
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
validate ()
→ String ?
Validate the value
Return null if the value is valid
Return the error message if the value is invalid
Return null if the value is empty
override