validator library

Classes

EskField
An implementation of IEskIdValidator, which acepts a list of validators.
EskMap<T extends Map>
Abstract class from which to create class based validator schemes. EskMap is a utility class designed to facilitate the validation and transformation of map-like data structures in Dart. It provides a flexible way to define validation rules and apply them to input data, ensuring that the data conforms to expected formats or constraints.
EskValidator
An implementation of IEskValidator, which accepts a validator function, which is used by the EskValidator to validate some data.
IEskIdValidator
A EskValidator sub-class, which adds an identifier, which can be used to identify the validator, for example EskMap uses it to validate its fields.
IEskValidator
Inmutable class from which all validators inherit.

Typedefs

EskValidatorFn = EskResult Function(dynamic value)
Type representing a validator function.