fromResponse static method

InfluxDBException fromResponse(
  1. BaseResponse response
)

Implementation

static InfluxDBException fromResponse(BaseResponse response) {
  return fromJson(response is Response ? response.body : '',
      response.statusCode, response.headers);
}