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