validate method
Validate instance
against this schema, returning the result
with information about any validation errors or warnings that occurred.
Implementation
ValidationResults validate(dynamic instance,
{bool parseJson = false, bool? validateFormats}) =>
Validator(this).validate(instance,
reportMultipleErrors: true,
parseJson: parseJson,
validateFormats: validateFormats);