validate abstract method

bool validate(
  1. String value
)

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.

Implementation

bool validate(String value);