error property Null safety

PasswordValidationError? error
inherited

Returns a validation error if the FormzInput is invalid. Returns null if the FormzInput is valid.

Implementation

E? get error => validator(value);