loadConformanceFixtureIndex function

Future<ConformanceFixtureIndex> loadConformanceFixtureIndex(
  1. String path
)

Loads a VM-only conformance fixture index from path.

Relative paths are resolved through the c2pa_testkit package; this uses dart:io and isolate package resolution, so it is not web-safe.

Implementation

Future<ConformanceFixtureIndex> loadConformanceFixtureIndex(String path) async {
  final json = await loadGoldenJsonObject(path);
  return ConformanceFixtureIndex.fromJson(json);
}