RTSchema constructor
RTSchema({
- required String type,
- String? title,
- Map<
String, RTSchema> ? properties, - String? format,
- int? minLength,
- int? maxLength,
- @JsonKey(name: 'required') List<
String> ? requiredValues, - String? description,
- @JsonKey(name: 'default') int? defaultValue,
- @JsonKey(name: 'enum') List<
String> ? enumValues, - RTSchema? items,
Implementation
factory RTSchema({
required String type,
String? title,
Map<String, RTSchema>? properties,
String? format,
int? minLength,
int? maxLength,
@JsonKey(name: 'required') List<String>? requiredValues,
String? description,
@JsonKey(name: 'default') int? defaultValue,
@JsonKey(name: 'enum') List<String>? enumValues,
RTSchema? items,
}) = _RTSchema;