discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

copy method

SchemaType copy()

Implementation

SchemaType copy() => this;