validate abstract method

String? validate()

Returns the violation message, or null if the constraint is satisfied.

Implementation

String? validate();