squarealfa_entity_annotations library
Validation annotations and classes
Classes
- BuildBuilder
-
Builder<
T> - CopyWith
- DoubleRange
- Annotation that indicates the field to which it is applied to has a range of values between min and max
- ErrorList
- Contains the results of a validation check
- ListItemErrorList
- Represents the validation errors, errorList, of an object item that is part of a list, list at the index itemIndex
- ListPropertyValidation
- Validation error applied to properties of List type, composed of multiple errors
- PropertyValidation
- Represents a ValidationError specific to a property that can contain multiple errors
- Range
- Annotation that indicates the field to which it is applied to has a range of values between min and max
- RangeValidationError
- Represents an error indicating that a required value is missing
- Required
- Annotation that indicates the field to which it is applied to is required
- RequiredValidationError
- Represents an error indicating that a required value is missing
- StringLength
- Annotation that indicates the field to which it is applied to has a length that ranges from minLength to maxLength
- StringLengthValidationError
- Represents an error indicating that a required value is missing
- Validatable
- Annotation that indicates that the class to which it is applied to is a validatable class
- ValidationError
- Represents a validation error
- Validator
- Performs validation on an object
Constants
- builder → const BuildBuilder
- copyWith → const CopyWith
- required → const Required
- validatable → const Validatable