XRPCResponse<D> constructor

const XRPCResponse<D>({
  1. required Map<String, String> headers,
  2. required HttpStatus status,
  3. required XRPCRequest request,
  4. required RateLimit rateLimit,
  5. required D data,
})

Returns the new instance of XRPCResponse.

Implementation

const XRPCResponse({
  required this.headers,
  required this.status,
  required this.request,
  required this.rateLimit,
  required this.data,
});