validate abstract method

String? validate(
  1. String input
)

Validates the given input and returns an error message if validation fails. Returns null if the input is valid.

Implementation

String? validate(String input);