OpenAPISchema.allOf constructor

OpenAPISchema.allOf(
  1. List<OpenAPISchema> schemas, {
  2. Map<String, Object?>? additional,
})

Creates an allOf schema.

Implementation

factory OpenAPISchema.allOf(
  List<OpenAPISchema> schemas, {
  Map<String, Object?>? additional,
}) => OpenAPISchema._({...?additional, 'allOf': schemas});