SchemaInteger constructor

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