MetaFormResult class
Results of processing a schema definition for rendering
Constructors
- MetaFormResult({required IMSchemaDefinition definition, JsonPath basePath = JsonPath.Root})
- MetaFormResult.single({required IMSchemaDefinition definition, JsonPath basePath = JsonPath.Root, required JsonPath single})
Properties
- basePath → JsonPath
-
A base path to append
final
- definition → IMSchemaDefinition
-
The schema being processed
final
-
handled
→ Map<
JsonPath, HandledPaths> -
Handled paths - the key in this map is HandledPaths.path
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mappedFields
→ Map<
JsonPath, HandledPaths> -
Any fields that have been mapped already
final
-
pending
→ Map<
JsonPath, IMSchemaProperty> -
The fields that have not been processed yet
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
JsonPath? compareBasePath, JsonPath propertyPath) → HandledPaths? - Gets a handled path. The basePath is what the caller thinks it's root path. All the paths in handled are intended to be relative, so, we'll ensure that the basePath matches, to prevent returning a false positive.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
JsonPath path) → HandledPaths?