throwIfStatusNotOK method
Implementation
void throwIfStatusNotOK({required String message}) {
if (statusCode == 200) return;
throw TransportException(message, statusCode: statusCode, body: body);
}
void throwIfStatusNotOK({required String message}) {
if (statusCode == 200) return;
throw TransportException(message, statusCode: statusCode, body: body);
}