discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

defaultVersion constant

SchemaVersion const defaultVersion

Implementation

static const SchemaVersion defaultVersion = SchemaVersion.draft7;