deserializeResponse method

  1. @override
dynamic deserializeResponse(
  1. ApiClient _apiClient,
  2. Map<String, String> _headers,
  3. ByteData? _body
)
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.");
  }

  return _apiClient.deserializeFilesCollection(
      BodyPartData(_headers['content-type'], _headers['filename'], _body));
}