validate static method

Future<void> validate(
  1. YamlMap yamlContent,
  2. YamlValidationSchema schema
)

Validate a yaml file content using a validation schema.

Implementation

static Future<void> validate(
        YamlMap yamlContent, YamlValidationSchema schema) async =>
    await validateYamlImpl(yamlContent, schema);