validate abstract method

String? validate(
  1. dynamic value
)

Return an error message if the value is invalid, otherwise return null.

Implementation

String? validate(dynamic value);