SchemaInteger constructor
const
SchemaInteger({
- Xml? xml,
- String? title,
- String? description,
- @JsonKey(name: 'default', fromJson: _fromJsonInt) int? defaultValue,
- bool? nullable,
- @JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue) IntegerFormat? format,
- @JsonKey(fromJson: _fromJsonInt) int? example,
- @JsonKey(fromJson: _fromJsonInt) int? minimum,
- @JsonKey(fromJson: _fromJsonInt) int? maximum,
- bool? exclusiveMinimum,
- bool? exclusiveMaximum,
- @JsonKey(fromJson: _fromJsonInt) int? multipleOf,
- @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
Implementation
const factory SchemaInteger(
{final Xml? xml,
final String? title,
final String? description,
@JsonKey(name: 'default', fromJson: _fromJsonInt) final int? defaultValue,
final bool? nullable,
@JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue)
final IntegerFormat? format,
@JsonKey(fromJson: _fromJsonInt) final int? example,
@JsonKey(fromJson: _fromJsonInt) final int? minimum,
@JsonKey(fromJson: _fromJsonInt) final int? maximum,
final bool? exclusiveMinimum,
final bool? exclusiveMaximum,
@JsonKey(fromJson: _fromJsonInt) final int? multipleOf,
@JsonKey(name: '\$ref')
@_SchemaRefConverter()
final String? ref}) = _$SchemaIntegerImpl;