SchemaDefinitionExt extension Null safety
SchemaDefinitionExt
Extension on the SchemaDefinition
class which provides a useful suite of methods
to work with the SchemaDefinition
class.
- on
-
- SchemaDefinition
Methods
-
newDocument(
) → SchemaDocument -
Converts a
SchemaDefinition
to a baseSchemaDocument
with its fields being set to the associatedSchemaKind
from the underlying definition.