withStopped method

Response<T> withStopped(
  1. bool stopped
)

Sets the stopped status of the response.

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

Implementation

Response<T> withStopped(bool stopped) {
  _stopped = stopped;
  _loading = false;
  return this;
}