ZResponse<T> constructor
ZResponse<T> ({
- required ZRequest request,
- Response<
T> ? response,
Implementation
ZResponse({required this.request, this.response}) {
this.data = response?.data;
this.statusCode = response?.statusCode;
}