JsonSchemaProperty constructor
const
JsonSchemaProperty({ - required String key,
- required String type,
- String? title,
- String? description,
- String? format,
- dynamic defaultValue,
- List? enumValues,
- List<String>? enumLabels,
- num? minimum,
- num? maximum,
- int? minLength,
- int? maxLength,
- String? pattern,
- bool required = false,
- bool readOnly = false,
- bool writeOnly = false,
- JsonSchemaProperty? items,
- Map<String, JsonSchemaProperty>? properties,
- String? uiWidget,
- int? uiOrder,
- bool uiHidden = false,
- String? uiPlaceholder,
- String? uiHelp,
- List<Map<String, dynamic>>? oneOf,
- List<Map<String, dynamic>>? anyOf,
- List<Map<String, dynamic>>? allOf,
- String? ref,
- dynamic const_,
})
Implementation
const JsonSchemaProperty({
required this.key,
required this.type,
this.title,
this.description,
this.format,
this.defaultValue,
this.enumValues,
this.enumLabels,
this.minimum,
this.maximum,
this.minLength,
this.maxLength,
this.pattern,
this.required = false,
this.readOnly = false,
this.writeOnly = false,
this.items,
this.properties,
this.uiWidget,
this.uiOrder,
this.uiHidden = false,
this.uiPlaceholder,
this.uiHelp,
this.oneOf,
this.anyOf,
this.allOf,
this.ref,
this.const_,
});