ArraySpec constructor

const ArraySpec({
  1. required TypeSpec items,
  2. int? minItems,
  3. int? maxItems,
  4. bool uniqueItems = false,
  5. List<Object>? defaultValue,
  6. String? description,
  7. bool nullable = false,
  8. List<Object>? examples,
  9. bool isDeprecated = false,
})

Creates a new ArraySpec.

Implementation

const ArraySpec({
  required this.items,
  this.minItems,
  this.maxItems,
  this.uniqueItems = false,
  this.defaultValue,
  super.description,
  super.nullable,
  super.examples,
  super.isDeprecated,
});