copyWith method

ElicitationPropertySchemaBoolean copyWith({
  1. Object? type = _acpCopyWithAbsent,
  2. Object? title = _acpCopyWithAbsent,
  3. Object? description = _acpCopyWithAbsent,
  4. Object? defaultValue = _acpCopyWithAbsent,
  5. Object? meta = _acpCopyWithAbsent,
})

Implementation

ElicitationPropertySchemaBoolean copyWith({
  Object? type = _acpCopyWithAbsent,
  Object? title = _acpCopyWithAbsent,
  Object? description = _acpCopyWithAbsent,
  Object? defaultValue = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ElicitationPropertySchemaBoolean(
  type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
  title: identical(title, _acpCopyWithAbsent) ? this.title : title as String?,
  description: identical(description, _acpCopyWithAbsent)
      ? this.description
      : description as String?,
  defaultValue: identical(defaultValue, _acpCopyWithAbsent)
      ? this.defaultValue
      : defaultValue as bool?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);