requestTimeouts property

Map<String, Duration> requestTimeouts
getter/setter pair

Minimal timeout between requests of the same class

Every request will be throttled according to this if else not specified in APIRequest.settings.

At least this amount of time should pass before next request of the same class will be sent

{'class-name': Duration(seconds: 5)}

Implementation

Map<String, Duration> requestTimeouts = {};