Function used to check value. Return 'true' if value is valid, else 'false'
Future<bool> Function(dynamic value)? valid;