loadValidatedSchemaSync method

LoadedSchemaDocument loadValidatedSchemaSync(
  1. String schemaPath
)

File-backed loading is unavailable on web builds.

Implementation

LoadedSchemaDocument loadValidatedSchemaSync(String schemaPath) {
  throw UnsupportedError(
    'SchemaWorkflow.loadValidatedSchemaSync is not available on web targets. '
    'Use loadValidatedSchemaSource(...) with schema text instead.',
  );
}