SchemaString constructor

const SchemaString({
  1. Xml? xml,
  2. String? title,
  3. String? description,
  4. @JsonKey(name: 'default') String? defaultValue,
  5. bool? nullable,
  6. @JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue) StringFormat? format,
  7. String? pattern,
  8. String? example,
  9. @JsonKey(fromJson: _fromJsonInt) int? minLength,
  10. @JsonKey(fromJson: _fromJsonInt) int? maxLength,
  11. bool? exclusiveMinimum,
  12. bool? exclusiveMaximum,
  13. @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;