Validator<T> class abstract interface

Validators are used to validate data against a schema

The name provides a handy string to use in error messages.

Validators are callable classes that usually have that single instance method.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(T input) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited