SchemaArray constructor

const SchemaArray({
  1. Xml? xml,
  2. String? title,
  3. String? description,
  4. @JsonKey(name: 'default') List? defaultValue,
  5. bool? nullable,
  6. dynamic example,
  7. @JsonKey(fromJson: _fromJsonInt) int? minItems,
  8. @JsonKey(fromJson: _fromJsonInt) int? maxItems,
  9. required Schema items,
  10. @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;