defaultUploadTimeout constant
Duration
const defaultUploadTimeout
The same, for a file upload.
Separate because the two are not the same kind of wait. Thirty seconds is generous for a JSON call and far too short for a large file on a mobile connection - this package's own test fixture is a 10 MB video, which cannot finish inside defaultTimeout on a slow link.
Implementation
static const Duration defaultUploadTimeout = Duration(minutes: 5);