discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

values property

List<SchemaVersion> get values

Implementation

static List<SchemaVersion> get values => const <SchemaVersion>[draft4, draft6, draft7, draft2019_09, draft2020_12];