copyWith method

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

Implementation

IntegerPropertySchema copyWith({
  Object? title = _acpCopyWithAbsent,
  Object? description = _acpCopyWithAbsent,
  Object? minimum = _acpCopyWithAbsent,
  Object? maximum = _acpCopyWithAbsent,
  Object? defaultValue = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => IntegerPropertySchema(
  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?,
);