Optional validator that returns true when value is acceptable.
true
final bool Function(T value)? validator;