toJson method
Converts this class object into a JSON value.
Implementation
@override
Map<String, dynamic> toJson() {
final result = super.toJson();
if (oneOf != null) {
result["oneOf"] = oneOf;
}
if (allOf != null) {
result["allOf"] = allOf;
}
return result;
}