copyWith method

AvailableCommandsUpdate copyWith({
  1. Object? availableCommands = _acpCopyWithAbsent,
  2. Object? meta = _acpCopyWithAbsent,
})

Implementation

AvailableCommandsUpdate copyWith({
  Object? availableCommands = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => AvailableCommandsUpdate(
  availableCommands: identical(availableCommands, _acpCopyWithAbsent)
      ? this.availableCommands
      : availableCommands as List<AvailableCommand>,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);