Response<D> constructor
const
Response<D> ({
- required Map<
String, String> headers, - required HttpStatus status,
- required Request request,
- required D data,
Returns the new instance of Response.
Implementation
const Response({
required this.headers,
required this.status,
required this.request,
required this.data,
});