timeoutThreshold property
Amount of time to wait for the request to finish before canceling it and considering it "timed out" (results in a RequestException being thrown).
If null, a default threshold (if set) will be enforced.
Implementation
@override
Duration? timeoutThreshold;