MultiSelectPropertySchema constructor

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

Implementation

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