processSingle method
HandledPaths
processSingle(
- IMSchemaDefinition definition, {
- JsonPath? basePath,
- required JsonPath singlePath,
- 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");
}