schemaVersion property

SchemaVersion get schemaVersion

JSON Schema version used.

Note: Only one version can be used for a nested JsonSchema object. Default: SchemaVersion.draft7

Implementation

SchemaVersion get schemaVersion =>
    _root?._schemaVersion ?? SchemaVersion.defaultVersion;