copyWith method

AvailableCommand copyWith({
  1. Object? name = _acpCopyWithAbsent,
  2. Object? description = _acpCopyWithAbsent,
  3. Object? input = _acpCopyWithAbsent,
  4. Object? meta = _acpCopyWithAbsent,
})

Implementation

AvailableCommand copyWith({
  Object? name = _acpCopyWithAbsent,
  Object? description = _acpCopyWithAbsent,
  Object? input = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => AvailableCommand(
  name: identical(name, _acpCopyWithAbsent) ? this.name : name as String,
  description: identical(description, _acpCopyWithAbsent)
      ? this.description
      : description as String,
  input: identical(input, _acpCopyWithAbsent)
      ? this.input
      : input as AvailableCommandInput?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);