copyWith method

AgentResponseResult copyWith({
  1. Object? id = _acpCopyWithAbsent,
  2. Object? result = _acpCopyWithAbsent,
})

Implementation

AgentResponseResult copyWith({
  Object? id = _acpCopyWithAbsent,
  Object? result = _acpCopyWithAbsent,
}) => AgentResponseResult(
  id: identical(id, _acpCopyWithAbsent) ? this.id : id as RequestId,
  result: identical(result, _acpCopyWithAbsent)
      ? this.result
      : result as Object,
);