check method
Implementation
@override
void check(dynamic object, ValidationContext context) {
super.check(object, context);
if ( object != null) {
var path = context.path;
for (FieldDescriptor field in typeDescriptor.getFields()) {
context.path = path.isEmpty ? field.name : "$path.${field.name}";
field.type!.check(field.getter(object), context);
}
context.path = path;
} // if
}