discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

oneOf property

List<JsonSchema> get oneOf

Implementation

List<JsonSchema> get oneOf => _oneOf;