processSingle method

HandledPaths processSingle(
  1. IMSchemaDefinition definition, {
  2. JsonPath? basePath,
  3. required JsonPath singlePath,
  4. Iterable<MetaPropertyHandler>? adhocHandlers,
})

Implementation

HandledPaths processSingle(
  IMSchemaDefinition definition, {
  JsonPath? basePath,
  required JsonPath singlePath,
  Iterable<MetaPropertyHandler>? adhocHandlers,
}) {
  basePath ??= JsonPath.root();
  final result = MetaFormResult.single(
      definition: definition, basePath: basePath, single: singlePath);
  return result.handled[singlePath] ??
      nullPointer("No handled path for $singlePath");
}