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 will be enforced.
Implementation
@override
Duration? timeoutThreshold;