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) Keys.type: type.typeName,
if (title != null) Keys.title: title,
if (description != null) Keys.description: description,
if (allOf != null) Keys.allOf: allOf,
if (anyOf != null) Keys.anyOf: anyOf,
if (oneOf != null) Keys.oneOf: oneOf,
if (not != null) Keys.not: not,
});