SchemaNumber constructor

const SchemaNumber({
  1. Xml? xml,
  2. String? title,
  3. String? description,
  4. @JsonKey(name: 'default', fromJson: _fromJsonDouble) double? defaultValue,
  5. bool? nullable,
  6. @JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue) NumberFormat? format,
  7. @JsonKey(fromJson: _fromJsonDouble) double? example,
  8. @JsonKey(fromJson: _fromJsonDouble) double? minimum,
  9. @JsonKey(fromJson: _fromJsonDouble) double? maximum,
  10. bool? exclusiveMinimum,
  11. bool? exclusiveMaximum,
  12. @JsonKey(fromJson: _fromJsonDouble) double? multipleOf,
  13. @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
})

Implementation

const factory SchemaNumber(
        {final Xml? xml,
        final String? title,
        final String? description,
        @JsonKey(name: 'default', fromJson: _fromJsonDouble)
        final double? defaultValue,
        final bool? nullable,
        @JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue)
        final NumberFormat? format,
        @JsonKey(fromJson: _fromJsonDouble) final double? example,
        @JsonKey(fromJson: _fromJsonDouble) final double? minimum,
        @JsonKey(fromJson: _fromJsonDouble) final double? maximum,
        final bool? exclusiveMinimum,
        final bool? exclusiveMaximum,
        @JsonKey(fromJson: _fromJsonDouble) final double? multipleOf,
        @JsonKey(name: '\$ref') @_SchemaRefConverter() final String? ref}) =
    _$SchemaNumberImpl;