ZResponse<T> constructor

ZResponse<T>({
  1. required ZRequest request,
  2. Response<T>? response,
})

Implementation

ZResponse({required this.request, this.response}) {
  this.data = response?.data;
  this.statusCode = response?.statusCode;
}