isValid abstract method

bool isValid(
  1. String input
)

Returns a boolean indicating whether the input is valid or not. Subclasses must implement this method to define the validation logic.

Implementation

bool isValid(String input);