Validated class

Inheritance
Implemented types

Constructors

Validated()
Requires a field to be deeply validated. Example: You have a class Group with a field List<Person> members as well as a type Person which is validatable. You can then annotate your field List<Person> members with @validated to validate all members when validating your container.
const

Properties

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

Methods

getCachedValue(DogStructure structure, DogStructureField field) → dynamic
override
isApplicable(DogStructure structure, DogStructureField field) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(dynamic cached, dynamic value, DogEngine engine) bool
override
validateSingle(dynamic value, ValidationMode mode, DogEngine engine) bool

Operators

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