JSONSchema constructor
JSONSchema(
- SchemaType type, {
- String? format,
- String? description,
- String? title,
- bool? nullable,
- List<
String> ? enumValues, - JSONSchema? items,
- int? minItems,
- int? maxItems,
- double? minimum,
- double? maximum,
- Map<
String, JSONSchema> ? properties, - List<
String> ? optionalProperties, - List<
String> ? propertyOrdering, - List<
JSONSchema> ? anyOf, - String? ref,
- 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,
);