JSONSchema constructor

JSONSchema(
  1. SchemaType type, {
  2. String? format,
  3. String? description,
  4. String? title,
  5. bool? nullable,
  6. List<String>? enumValues,
  7. JSONSchema? items,
  8. int? minItems,
  9. int? maxItems,
  10. double? minimum,
  11. double? maximum,
  12. Map<String, JSONSchema>? properties,
  13. List<String>? optionalProperties,
  14. List<String>? propertyOrdering,
  15. List<JSONSchema>? anyOf,
  16. String? ref,
  17. Map<String, JSONSchema>? defs,
})

Implementation

JSONSchema(
  super.type, {
  super.format,
  super.description,
  super.title,
  super.nullable,
  super.enumValues,
  JSONSchema? items,
  super.minItems,
  super.maxItems,
  super.minimum,
  super.maximum,
  Map<String, JSONSchema>? properties,
  super.optionalProperties,
  super.propertyOrdering,
  List<JSONSchema>? anyOf,
  this.ref,
  this.defs,
}) : super(
        items: items,
        properties: properties,
        anyOf: anyOf,
      );