JsonSchema constructor

JsonSchema({
  1. String? P_ref,
  2. JsonSchema? additionalProperties,
  3. JsonSchemaAnnotations? annotations,
  4. String? default_,
  5. bool? deprecated,
  6. String? description,
  7. List<String>? enum_,
  8. List<bool>? enumDeprecated,
  9. List<String>? enumDescriptions,
  10. String? format,
  11. String? id,
  12. JsonSchema? items,
  13. String? location,
  14. String? maximum,
  15. String? minimum,
  16. String? pattern,
  17. Map<String, JsonSchema>? properties,
  18. bool? readOnly,
  19. bool? repeated,
  20. bool? required,
  21. String? type,
  22. JsonSchemaVariant? variant,
})

Implementation

JsonSchema({
  this.P_ref,
  this.additionalProperties,
  this.annotations,
  this.default_,
  this.deprecated,
  this.description,
  this.enum_,
  this.enumDeprecated,
  this.enumDescriptions,
  this.format,
  this.id,
  this.items,
  this.location,
  this.maximum,
  this.minimum,
  this.pattern,
  this.properties,
  this.readOnly,
  this.repeated,
  this.required,
  this.type,
  this.variant,
});