isValid property
bool
isValid
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 isValid => validator(value) == null;