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 field.iterableKind != IterableKind.none;
}