error property
ValidationErrorType
get
error
The type of validation error that occurred.
Implementation
ValidationErrorType get error => ValidationErrorType.values.firstWhere(
(value) => value.name == _value[Keys.error],
);