discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

number constant

SchemaType const number

Implementation

static const SchemaType number = SchemaType._(3);