isApplicable method
Returns true if this validator is applicable for field
.
Implementation
@override
bool isApplicable(DogStructure structure, DogStructureField field) {
return field.serial.typeArgument == int ||
field.serial.typeArgument == double;
}