SchemaOpenApi constructor

const SchemaOpenApi({
  1. Map? originalJson,
  2. String? name,
  3. String? title,
  4. String? description,
  5. Object? example,
  6. TypeOpenApi? type,
  7. FormatOpenApi? format,
  8. List<Object>? enum$,
  9. RefOr<SchemaOpenApi>? items,
  10. Map<String, RefOr<SchemaOpenApi>>? properties,
  11. RefOr<SchemaOpenApi>? additionalProperties,
  12. List<RefOr<SchemaOpenApi>>? allOf,
  13. List<String>? required,
  14. bool nullable = false,
  15. Object? default$,
  16. Object? $original,
  17. bool? uniqueItems,
})

Implementation

const SchemaOpenApi({
  super.originalJson,
  this.name,
  this.title,
  this.description,
  this.example,
  this.type,
  this.format,
  this.enum$,
  this.items,
  this.properties,
  this.additionalProperties,
  this.allOf,
  this.required,
  this.nullable = false,
  this.default$,
  this.$original,
  this.uniqueItems,
});