discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

string constant

SchemaType const string

Implementation

static const SchemaType string = SchemaType._(6);