MultiSelectPropertySchema constructor

MultiSelectPropertySchema({
  1. required MultiSelectItems items,
  2. String? title,
  3. String? description,
  4. AcpUint64? minItems,
  5. AcpUint64? maxItems,
  6. List<String>? defaultValue,
  7. AcpJsonObject? meta,
})

Creates a MultiSelectPropertySchema value.

Implementation

MultiSelectPropertySchema({
  required this.items,
  this.title,
  this.description,
  this.minItems,
  this.maxItems,
  List<String>? defaultValue,
  this.meta,
}) : defaultValue = defaultValue == null
         ? null
         : List<String>.unmodifiable(defaultValue);