toDataModel method

ResponseReceived toDataModel()

Implementation

ResponseReceived toDataModel() {
  return ResponseReceived(
    data: data,
    statusCode: statusCode,
    statusMessage: statusMessage,
    headers: headers,
  );
}