defaultRequestContentLength function
Implementation
int? defaultRequestContentLength(RequestOptions options) {
try {
return options.headers.toString().length + options.data.toString().length;
} catch (_) {
return null;
}
}
int? defaultRequestContentLength(RequestOptions options) {
try {
return options.headers.toString().length + options.data.toString().length;
} catch (_) {
return null;
}
}