getCachedValue method
Returns a cached value for this validator. Will be passed to validate on every validation.
Implementation
@override
getCachedValue(DogStructure<dynamic> structure, DogStructureField field) {
return _ValidatedCacheEntry(
field.serial.typeArgument, field.iterableKind != IterableKind.none);
}