SchemaNumber constructor
const
SchemaNumber({
- Xml? xml,
- String? title,
- String? description,
- @JsonKey(name: 'default', fromJson: _fromJsonDouble) double? defaultValue,
- bool? nullable,
- @JsonKey(unknownEnumValue: JsonKey.nullForUndefinedEnumValue) NumberFormat? format,
- @JsonKey(fromJson: _fromJsonDouble) double? example,
- @JsonKey(fromJson: _fromJsonDouble) double? minimum,
- @JsonKey(fromJson: _fromJsonDouble) double? maximum,
- bool? exclusiveMinimum,
- bool? exclusiveMaximum,
- @JsonKey(fromJson: _fromJsonDouble) double? multipleOf,
- @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;