Schema constructor

const Schema({
  1. SchemaType? type,
  2. String? format,
  3. String? description,
  4. bool? nullable,
  5. List<String>? enumValues,
  6. Schema? items,
  7. Map<String, Schema>? properties,
  8. List<String>? required,
})

Creates a Schema.

Implementation

const Schema({
  this.type,
  this.format,
  this.description,
  this.nullable,
  this.enumValues,
  this.items,
  this.properties,
  this.required,
});