defaultResponseContentLength function
Implementation
int? defaultResponseContentLength(Response response) {
if (response.data is String) {
return (response.headers.toString().length) + response.data.length as int?;
} else {
return null;
}
}