SchemaString constructor
const
SchemaString({
- Xml? xml,
- String? title,
- String? description,
- @JsonKey(name: 'default') String? defaultValue,
- bool? nullable,
- @JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue) StringFormat? format,
- String? pattern,
- String? example,
- @JsonKey(fromJson: _fromJsonInt) int? minLength,
- @JsonKey(fromJson: _fromJsonInt) int? maxLength,
- bool? exclusiveMinimum,
- bool? exclusiveMaximum,
- @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
Implementation
const factory SchemaString(
{final Xml? xml,
final String? title,
final String? description,
@JsonKey(name: 'default') final String? defaultValue,
final bool? nullable,
@JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue)
final StringFormat? format,
final String? pattern,
final String? example,
@JsonKey(fromJson: _fromJsonInt) final int? minLength,
@JsonKey(fromJson: _fromJsonInt) final int? maxLength,
final bool? exclusiveMinimum,
final bool? exclusiveMaximum,
@JsonKey(name: '\$ref') @_SchemaRefConverter() final String? ref}) =
_$SchemaStringImpl;