error property Null safety

StudentCodeValidationError? error
inherited

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

Implementation

E? get error => validator(value);