Validation<T extends DartElement> class

Constructors

Validation(ValidationFn<T> validation, {required String description})

Properties

description String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validation ValidationFn<T>
final

Methods

and(Validation<T> otherValidation) Validation<T>
call(T target, DartPackage package, void addViolation(String)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
or(Validation<T> otherValidation) Validation<T>
toString() String
A string representation of this object.
inherited

Operators

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