from method

Response<T> from(
  1. Response<T> response
)

Implementation

Response<T> from(Response<T> response) {
  return copy(
    data: response._data,
    exception: response._error,
    feedback: response.feedback,
    message: response._message,
    progress: response._progress,
    requestCode: response.requestCode,
    backups: response._backups,
    ignores: response._ignores,
    result: response._result,
    snapshot: response.snapshot,
    status: response._status,
  );
}