validation/validation library

Classes

AbstractType<T, B extends AbstractType<T, B>>
Base class for type constraints based on a literal type. B the type type :-) T the literal type
BoolType
type specification for bool values
ClassType<T>
DateTimeType
type specification for bool values
DoubleType
type constraint for double values
IntType
The type specification of int types
LazyObjectType<T>
ListType<T>
Type specification for List types
MethodSpec
@internal
ObjectType<T>
Type specification for class values of a certain type. T the corresponding type
StringType
The type specification of String types
Test<T>
@internal
TypeViolation
This class describes a single violation.
ValidationContext
@internal
ValidationException
Exception thrown in case of validation violations.

Enums

ArgType
@internal

Typedefs

Check<T> = bool Function(T)
@internal
MethodApplier<T> = void Function(AbstractType<T, AbstractType<dynamic, AbstractType>>, List args)
@internal
ResolveFunction = void Function(AbstractType<dynamic, AbstractType> type)