getMethodRequestTimeout method

Duration getMethodRequestTimeout(
  1. String methodId
)

Returns configured delay between requests of the same class

Also can be accessed this way:

API.requestTimeouts[methodId]

Returns Duration.zero if not set

Implementation

Duration getMethodRequestTimeout(String methodId) =>
    requestTimeouts[methodId] ?? Duration.zero;