isValid property

  1. @override
bool isValid
override

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

@override
bool get isValid => _error == null;