discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

boolean constant

SchemaType const boolean

Implementation

static const SchemaType boolean = SchemaType._(1);