copyWith method

ElicitationPropertySchemaInteger copyWith({
  1. Object? type = _acpCopyWithAbsent,
  2. Object? title = _acpCopyWithAbsent,
  3. Object? description = _acpCopyWithAbsent,
  4. Object? minimum = _acpCopyWithAbsent,
  5. Object? maximum = _acpCopyWithAbsent,
  6. Object? defaultValue = _acpCopyWithAbsent,
  7. Object? meta = _acpCopyWithAbsent,
})

Implementation

ElicitationPropertySchemaInteger copyWith({
  Object? type = _acpCopyWithAbsent,
  Object? title = _acpCopyWithAbsent,
  Object? description = _acpCopyWithAbsent,
  Object? minimum = _acpCopyWithAbsent,
  Object? maximum = _acpCopyWithAbsent,
  Object? defaultValue = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ElicitationPropertySchemaInteger(
  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?,
  minimum: identical(minimum, _acpCopyWithAbsent)
      ? this.minimum
      : minimum as int?,
  maximum: identical(maximum, _acpCopyWithAbsent)
      ? this.maximum
      : maximum as int?,
  defaultValue: identical(defaultValue, _acpCopyWithAbsent)
      ? this.defaultValue
      : defaultValue as int?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);