error property

The type of validation error that occurred.

Implementation

ValidationErrorType get error =>
    ValidationErrorType.values.firstWhere((t) => t.name == _value['error']);