SchemaArray constructor
const
SchemaArray({
- Xml? xml,
- String? title,
- String? description,
- @JsonKey(name: 'default') List? defaultValue,
- bool? nullable,
- dynamic example,
- @JsonKey(fromJson: _fromJsonInt) int? minItems,
- @JsonKey(fromJson: _fromJsonInt) int? maxItems,
- required Schema items,
- @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
Implementation
const factory SchemaArray(
{final Xml? xml,
final String? title,
final String? description,
@JsonKey(name: 'default') final List<dynamic>? defaultValue,
final bool? nullable,
final dynamic example,
@JsonKey(fromJson: _fromJsonInt) final int? minItems,
@JsonKey(fromJson: _fromJsonInt) final int? maxItems,
required final Schema items,
@JsonKey(name: '\$ref') @_SchemaRefConverter() final String? ref}) =
_$SchemaArrayImpl;