ValidationRule class abstract
Base class representing a validation rule Every new validation should extends this one.
Constructors
Properties
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 value) → bool -
A function that should be implemented and it represents
the validation of the value. It should return
Boolean
indicating that the value passed pass the validation or not.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited