validateWithSchema method

Map<String, List<ValidationResult>> validateWithSchema(
  1. Map<String, dynamic> schema,
  2. Map<String, dynamic> data
)

Implementation

Map<String, List<ValidationResult>> validateWithSchema(
  Map<String, dynamic> schema,
  Map<String, dynamic> data,
) {
  registerSchema(schema);
  return validate(data);
}