ElicitationPropertySchemaArray constructor

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

Implementation

ElicitationPropertySchemaArray({
  required this.type,
  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!),
     super();