withPaused method

Response<T> withPaused(
  1. bool paused
)

Sets the paused status of the response.

paused: Indicates if the response is paused. Returns the modified Response object with updated paused status.

Implementation

Response<T> withPaused(bool paused) {
  _paused = paused;
  _loading = false;
  return this;
}