TransloaditResponse constructor
TransloaditResponse(
- Response response
Constructor function to create a TransloaditResponse from a Response
Implementation
TransloaditResponse(Response response) {
_data = jsonDecode(response.body);
_statusCode = response.statusCode;
_headers = response.headers;
}