withNullable method
Sets the nullable status of the response.
nullable
: Indicates if the response is nullable.
Returns the modified Response object with updated nullable status.
Implementation
Response<T> withNullable(bool nullable) {
_nullable = nullable;
_loading = false;
return this;
}