copyWith method

MultiSelectPropertySchema copyWith({
  1. Object? title = _acpCopyWithAbsent,
  2. Object? description = _acpCopyWithAbsent,
  3. Object? minItems = _acpCopyWithAbsent,
  4. Object? maxItems = _acpCopyWithAbsent,
  5. Object? items = _acpCopyWithAbsent,
  6. Object? defaultValue = _acpCopyWithAbsent,
  7. Object? meta = _acpCopyWithAbsent,
})

Implementation

MultiSelectPropertySchema copyWith({
  Object? title = _acpCopyWithAbsent,
  Object? description = _acpCopyWithAbsent,
  Object? minItems = _acpCopyWithAbsent,
  Object? maxItems = _acpCopyWithAbsent,
  Object? items = _acpCopyWithAbsent,
  Object? defaultValue = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => MultiSelectPropertySchema(
  title: identical(title, _acpCopyWithAbsent) ? this.title : title as String?,
  description: identical(description, _acpCopyWithAbsent)
      ? this.description
      : description as String?,
  minItems: identical(minItems, _acpCopyWithAbsent)
      ? this.minItems
      : minItems as int?,
  maxItems: identical(maxItems, _acpCopyWithAbsent)
      ? this.maxItems
      : maxItems as int?,
  items: identical(items, _acpCopyWithAbsent)
      ? this.items
      : items as MultiSelectItems,
  defaultValue: identical(defaultValue, _acpCopyWithAbsent)
      ? this.defaultValue
      : defaultValue as List<String>?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);