valid property Null safety
inherited
Whether the FormzInput value is valid according to the
overridden validator.
Returns true if validator returns null for the
current FormzInput value and false otherwise.
Implementation
bool get valid => validator(value) == null;