copyWith method

ClientRequest copyWith({
  1. Object? id = _acpCopyWithAbsent,
  2. Object? method = _acpCopyWithAbsent,
  3. Object? params = _acpCopyWithAbsent,
})

Implementation

ClientRequest copyWith({
  Object? id = _acpCopyWithAbsent,
  Object? method = _acpCopyWithAbsent,
  Object? params = _acpCopyWithAbsent,
}) => ClientRequest(
  id: identical(id, _acpCopyWithAbsent) ? this.id : id as RequestId,
  method: identical(method, _acpCopyWithAbsent)
      ? this.method
      : method as String,
  params: identical(params, _acpCopyWithAbsent)
      ? this.params
      : params as Object?,
);