Schema.integer constructor
const
Schema.integer({
- 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,
An integer schema property
Implementation
const factory Schema.integer({
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,
}) = SchemaInteger;