deserializeResponse method
dynamic
deserializeResponse()
override
Implementation
@override
dynamic deserializeResponse(final ApiClient _apiClient,
final Map<String, String> _headers, final ByteData? _body) {
if (_body == null) {
return ApiException(400,
"Nullable response body is not allowed for this operation type.");
}
var _result = HyperlinkResponse();
var _jsonData = utf8.decode(
_body.buffer.asUint8List(_body.offsetInBytes, _body.lengthInBytes));
var _json = jsonDecode(_jsonData);
_result.deserialize(_json as Map<String, dynamic>);
return _result;
}