Schema.combined constructor
Schema.combined({})
A combined schema, see https://json-schema.org/understanding-json-schema/reference/combining#schema-composition
Implementation
factory Schema.combined({
JsonType? type,
String? title,
String? description,
List<Schema>? allOf,
List<Schema>? anyOf,
List<Schema>? oneOf,
List<Schema>? not,
}) => Schema.fromMap({
if (type != null) 'type': type.typeName,
if (title != null) 'title': title,
if (description != null) 'description': description,
if (allOf != null) 'allOf': allOf,
if (anyOf != null) 'anyOf': anyOf,
if (oneOf != null) 'oneOf': oneOf,
if (not != null) 'not': not,
});